/*
 Navicat Premium Data Transfer

 Source Server         : localhost
 Source Server Type    : MySQL
 Source Server Version : 80014
 Source Host           : localhost:3306
 Source Schema         : flow_turbo

 Target Server Type    : MySQL
 Target Server Version : 80014
 File Encoding         : 65001

 Date: 28/03/2023 16:16:42
*/

SET NAMES utf8mb4;
SET FOREIGN_KEY_CHECKS = 0;

-- ----------------------------
-- Table structure for ei_flow_instance
-- ----------------------------
DROP TABLE IF EXISTS `ei_flow_instance`;
CREATE TABLE `ei_flow_instance` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT COMMENT '自增主键',
  `flow_instance_id` varchar(128) NOT NULL DEFAULT '' COMMENT '流程执行实例id',
  `flow_deploy_id` varchar(128) NOT NULL DEFAULT '' COMMENT '流程模型部署id',
  `flow_module_id` varchar(128) NOT NULL DEFAULT '' COMMENT '流程模型id',
  `tenant_id` varchar(16) NOT NULL DEFAULT '' COMMENT '业务方标识',
  `status` tinyint(4) NOT NULL DEFAULT '0' COMMENT '状态(1.执行完成 2.执行中 3.执行终止(强制终止))',
  `create_time` datetime NOT NULL DEFAULT '1970-01-01 00:00:00' COMMENT '流程创建时间',
  `modify_time` datetime NOT NULL DEFAULT '1970-01-01 00:00:00' COMMENT '流程修改时间',
  `archive` tinyint(4) NOT NULL DEFAULT '0' COMMENT '归档状态(0未删除，1删除)',
  `tenant` varchar(100) NOT NULL DEFAULT '' COMMENT '租户',
  `caller` varchar(100) NOT NULL DEFAULT '' COMMENT '调用方',
  PRIMARY KEY (`id`),
  UNIQUE KEY `uniq_flow_instance_id` (`flow_instance_id`)
) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8 ROW_FORMAT=COMPACT COMMENT='流程执行实例表';

-- ----------------------------
-- Records of ei_flow_instance
-- ----------------------------
BEGIN;
INSERT INTO `ei_flow_instance` (`id`, `flow_instance_id`, `flow_deploy_id`, `flow_module_id`, `tenant_id`, `status`, `create_time`, `modify_time`, `archive`, `tenant`, `caller`) VALUES (1, 'bae9aac0-cd40-11ed-b785-f2d57a4703d9', '0cc73bfc-ccaf-11ed-85d5-f2d57a4703d9', '118ce103-cc92-11ed-a9ed-f2d57a4703d9', '', 1, '2023-03-28 16:15:42', '2023-03-28 16:15:50', 0, 'testTenant', 'testCaller');
INSERT INTO `ei_flow_instance` (`id`, `flow_instance_id`, `flow_deploy_id`, `flow_module_id`, `tenant_id`, `status`, `create_time`, `modify_time`, `archive`, `tenant`, `caller`) VALUES (2, 'cdae0ca9-cd40-11ed-b785-f2d57a4703d9', '0cc73bfc-ccaf-11ed-85d5-f2d57a4703d9', '118ce103-cc92-11ed-a9ed-f2d57a4703d9', '', 1, '2023-03-28 16:16:13', '2023-03-28 16:16:23', 0, 'testTenant', 'testCaller');
COMMIT;

-- ----------------------------
-- Table structure for ei_instance_data
-- ----------------------------
DROP TABLE IF EXISTS `ei_instance_data`;
CREATE TABLE `ei_instance_data` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT COMMENT '自增主键',
  `node_instance_id` varchar(128) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '' COMMENT '节点执行实例id',
  `flow_instance_id` varchar(128) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '' COMMENT '流程执行实例id',
  `instance_data_id` varchar(128) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '' COMMENT '实例数据id',
  `flow_deploy_id` varchar(128) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '' COMMENT '流程模型部署id',
  `flow_module_id` varchar(128) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '' COMMENT '流程模型id',
  `node_key` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '' COMMENT '节点唯一标识',
  `tenant_id` varchar(16) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '' COMMENT '业务方标识',
  `instance_data` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci COMMENT '数据列表json',
  `type` tinyint(4) NOT NULL DEFAULT '0' COMMENT '操作类型(1.实例初始化 2.系统执行 3.系统主动获取 4.上游更新 5.任务提交 6.任务撤回)',
  `create_time` datetime NOT NULL DEFAULT '1970-01-01 00:00:00' COMMENT '流程创建时间',
  `archive` tinyint(4) NOT NULL DEFAULT '0' COMMENT '归档状态(0未删除，1删除)',
  `tenant` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT '' COMMENT '租户',
  `caller` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT '' COMMENT '调用方',
  PRIMARY KEY (`id`),
  UNIQUE KEY `uniq_instance_data_id` (`instance_data_id`),
  KEY `idx_flow_instance_id` (`flow_instance_id`)
) ENGINE=InnoDB AUTO_INCREMENT=8 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=COMPACT COMMENT='实例数据表';

-- ----------------------------
-- Records of ei_instance_data
-- ----------------------------
BEGIN;
INSERT INTO `ei_instance_data` (`id`, `node_instance_id`, `flow_instance_id`, `instance_data_id`, `flow_deploy_id`, `flow_module_id`, `node_key`, `tenant_id`, `instance_data`, `type`, `create_time`, `archive`, `tenant`, `caller`) VALUES (1, '', 'bae9aac0-cd40-11ed-b785-f2d57a4703d9', 'bafae8d1-cd40-11ed-b785-f2d57a4703d9', '0cc73bfc-ccaf-11ed-85d5-f2d57a4703d9', '118ce103-cc92-11ed-a9ed-f2d57a4703d9', '', '', '[{\"key\":\"sgry_07\",\"value\":\"李四、王二\"},{\"key\":\"sgrs_02\",\"value\":\"6人\"},{\"key\":\"jxry_06\",\"value\":\"张三\"},{\"key\":\"skfxdj_03\",\"value\":\"2级\"},{\"key\":\"kplx_11\",\"value\":\"A\"},{\"key\":\"gcmc_01\",\"value\":\"A新度XXX220k线路增容改造工程\"},{\"key\":\"zygcfxkzcs_05\",\"value\":[1,2,3]},{\"key\":\"field112_04\",\"value\":\"2级\"}]', 1, '2023-03-28 16:15:42', 0, 'testTenant', 'testCaller');
INSERT INTO `ei_instance_data` (`id`, `node_instance_id`, `flow_instance_id`, `instance_data_id`, `flow_deploy_id`, `flow_module_id`, `node_key`, `tenant_id`, `instance_data`, `type`, `create_time`, `archive`, `tenant`, `caller`) VALUES (2, 'bb079303-cd40-11ed-b785-f2d57a4703d9', 'bae9aac0-cd40-11ed-b785-f2d57a4703d9', 'bd6ab054-cd40-11ed-b785-f2d57a4703d9', '0cc73bfc-ccaf-11ed-85d5-f2d57a4703d9', '118ce103-cc92-11ed-a9ed-f2d57a4703d9', 'Activity_027d0rv', '', '[{\"key\":\"sgry_07\",\"value\":\"李四、王二\"},{\"key\":\"sgrs_02\",\"value\":\"6人\"},{\"key\":\"xzry_08\",\"value\":\"麻子\"},{\"key\":\"jxry_06\",\"value\":\"张三\"},{\"key\":\"skfxdj_03\",\"value\":\"2级\"},{\"key\":\"kplx_11\",\"value\":\"A\"},{\"key\":\"gcmc_01\",\"value\":\"A新度XXX220k线路增容改造工程\"},{\"key\":\"zygcfxkzcs_05\",\"value\":[1,2,3]},{\"key\":\"field112_04\",\"value\":\"2级\"}]', 5, '2023-03-28 16:15:46', 0, 'testTenant', 'testCaller');
INSERT INTO `ei_instance_data` (`id`, `node_instance_id`, `flow_instance_id`, `instance_data_id`, `flow_deploy_id`, `flow_module_id`, `node_key`, `tenant_id`, `instance_data`, `type`, `create_time`, `archive`, `tenant`, `caller`) VALUES (3, 'bd6c8515-cd40-11ed-b785-f2d57a4703d9', 'bae9aac0-cd40-11ed-b785-f2d57a4703d9', 'bfa3d776-cd40-11ed-b785-f2d57a4703d9', '0cc73bfc-ccaf-11ed-85d5-f2d57a4703d9', '118ce103-cc92-11ed-a9ed-f2d57a4703d9', 'Activity_3b36jgt', '', '[{\"key\":\"sgry_07\",\"value\":\"李四、王二\"},{\"key\":\"sgrs_02\",\"value\":\"6人\"},{\"key\":\"xzry_08\",\"value\":\"麻子\"},{\"key\":\"jxry_06\",\"value\":\"张三\"},{\"key\":\"skfxdj_03\",\"value\":\"2级\"},{\"key\":\"kplx_11\",\"value\":\"A\"},{\"key\":\"bhqk_09\",\"value\":\"无\"},{\"key\":\"gcmc_01\",\"value\":\"A新度XXX220k线路增容改造工程\"},{\"key\":\"zygcfxkzcs_05\",\"value\":[1,2,3]},{\"key\":\"field112_04\",\"value\":\"2级\"}]', 5, '2023-03-28 16:15:50', 0, 'testTenant', 'testCaller');
INSERT INTO `ei_instance_data` (`id`, `node_instance_id`, `flow_instance_id`, `instance_data_id`, `flow_deploy_id`, `flow_module_id`, `node_key`, `tenant_id`, `instance_data`, `type`, `create_time`, `archive`, `tenant`, `caller`) VALUES (4, '', 'cdae0ca9-cd40-11ed-b785-f2d57a4703d9', 'cdaf452a-cd40-11ed-b785-f2d57a4703d9', '0cc73bfc-ccaf-11ed-85d5-f2d57a4703d9', '118ce103-cc92-11ed-a9ed-f2d57a4703d9', '', '', '[{\"key\":\"sgry_07\",\"value\":\"李四、王二\"},{\"key\":\"sgrs_02\",\"value\":\"2人\"},{\"key\":\"jxry_06\",\"value\":\"张三\"},{\"key\":\"skfxdj_03\",\"value\":\"2级\"},{\"key\":\"kplx_11\",\"value\":\"B\"},{\"key\":\"gcmc_01\",\"value\":\"A新度XXX220k线路增容改造工程\"},{\"key\":\"zygcfxkzcs_05\",\"value\":[1,2,3]},{\"key\":\"field112_04\",\"value\":\"2级\"}]', 1, '2023-03-28 16:16:13', 0, 'testTenant', 'testCaller');
INSERT INTO `ei_instance_data` (`id`, `node_instance_id`, `flow_instance_id`, `instance_data_id`, `flow_deploy_id`, `flow_module_id`, `node_key`, `tenant_id`, `instance_data`, `type`, `create_time`, `archive`, `tenant`, `caller`) VALUES (5, 'cdb0a4bc-cd40-11ed-b785-f2d57a4703d9', 'cdae0ca9-cd40-11ed-b785-f2d57a4703d9', 'd0f855ad-cd40-11ed-b785-f2d57a4703d9', '0cc73bfc-ccaf-11ed-85d5-f2d57a4703d9', '118ce103-cc92-11ed-a9ed-f2d57a4703d9', 'Activity_027d0rv', '', '[{\"key\":\"sgry_07\",\"value\":\"李四、王二\"},{\"key\":\"sgrs_02\",\"value\":\"3人\"},{\"key\":\"xzry_08\",\"value\":\"麻子\"},{\"key\":\"jxry_06\",\"value\":\"张三\"},{\"key\":\"skfxdj_03\",\"value\":\"2级\"},{\"key\":\"kplx_11\",\"value\":\"B\"},{\"key\":\"gcmc_01\",\"value\":\"A新度XXX220k线路增容改造工程\"},{\"key\":\"zygcfxkzcs_05\",\"value\":[1,2,3]},{\"key\":\"field112_04\",\"value\":\"2级\"}]', 5, '2023-03-28 16:16:19', 0, 'testTenant', 'testCaller');
INSERT INTO `ei_instance_data` (`id`, `node_instance_id`, `flow_instance_id`, `instance_data_id`, `flow_deploy_id`, `flow_module_id`, `node_key`, `tenant_id`, `instance_data`, `type`, `create_time`, `archive`, `tenant`, `caller`) VALUES (6, 'd0f9dc4e-cd40-11ed-b785-f2d57a4703d9', 'cdae0ca9-cd40-11ed-b785-f2d57a4703d9', 'd27a3abf-cd40-11ed-b785-f2d57a4703d9', '0cc73bfc-ccaf-11ed-85d5-f2d57a4703d9', '118ce103-cc92-11ed-a9ed-f2d57a4703d9', 'Activity_3b36jgt', '', '[{\"key\":\"sgry_07\",\"value\":\"李四、王二\"},{\"key\":\"sgrs_02\",\"value\":\"3人\"},{\"key\":\"xzry_08\",\"value\":\"麻子\"},{\"key\":\"jxry_06\",\"value\":\"张三\"},{\"key\":\"skfxdj_03\",\"value\":\"2级\"},{\"key\":\"kplx_11\",\"value\":\"B\"},{\"key\":\"bhqk_09\",\"value\":\"无\"},{\"key\":\"gcmc_01\",\"value\":\"A新度XXX220k线路增容改造工程\"},{\"key\":\"zygcfxkzcs_05\",\"value\":[1,2,3]},{\"key\":\"field112_04\",\"value\":\"2级\"}]', 5, '2023-03-28 16:16:21', 0, 'testTenant', 'testCaller');
INSERT INTO `ei_instance_data` (`id`, `node_instance_id`, `flow_instance_id`, `instance_data_id`, `flow_deploy_id`, `flow_module_id`, `node_key`, `tenant_id`, `instance_data`, `type`, `create_time`, `archive`, `tenant`, `caller`) VALUES (7, 'd27c5da1-cd40-11ed-b785-f2d57a4703d9', 'cdae0ca9-cd40-11ed-b785-f2d57a4703d9', 'd3c9c532-cd40-11ed-b785-f2d57a4703d9', '0cc73bfc-ccaf-11ed-85d5-f2d57a4703d9', '118ce103-cc92-11ed-a9ed-f2d57a4703d9', 'Activity_0ag852a', '', '[{\"key\":\"sgry_07\",\"value\":\"李四、王二\"},{\"key\":\"sgrs_02\",\"value\":\"3人\"},{\"key\":\"xzry_08\",\"value\":\"麻子\"},{\"key\":\"jxry_06\",\"value\":\"张三\"},{\"key\":\"skfxdj_03\",\"value\":\"2级\"},{\"key\":\"kplx_11\",\"value\":\"B\"},{\"key\":\"bhqk_09\",\"value\":\"无\"},{\"key\":\"gcmc_01\",\"value\":\"A新度XXX220k线路增容改造工程\"},{\"key\":\"zygcfxkzcs_05\",\"value\":[1,2,3]},{\"key\":\"field112_04\",\"value\":\"2级\"}]', 5, '2023-03-28 16:16:23', 0, 'testTenant', 'testCaller');
COMMIT;

-- ----------------------------
-- Table structure for ei_node_instance
-- ----------------------------
DROP TABLE IF EXISTS `ei_node_instance`;
CREATE TABLE `ei_node_instance` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT COMMENT '自增主键',
  `node_instance_id` varchar(128) NOT NULL DEFAULT '' COMMENT '节点执行实例id',
  `flow_instance_id` varchar(128) NOT NULL DEFAULT '' COMMENT '流程执行实例id',
  `source_node_instance_id` varchar(128) NOT NULL DEFAULT '' COMMENT '上一个节点执行实例id',
  `instance_data_id` varchar(128) NOT NULL DEFAULT '' COMMENT '实例数据id',
  `flow_deploy_id` varchar(128) NOT NULL DEFAULT '' COMMENT '流程模型部署id',
  `node_key` varchar(64) NOT NULL DEFAULT '' COMMENT '节点唯一标识',
  `source_node_key` varchar(64) NOT NULL DEFAULT '' COMMENT '上一个流程节点唯一标识',
  `tenant_id` varchar(16) NOT NULL DEFAULT '' COMMENT '业务方标识',
  `status` tinyint(4) NOT NULL DEFAULT '0' COMMENT '状态(1.处理成功 2.处理中 3.处理失败 4.处理已撤销)',
  `create_time` datetime NOT NULL DEFAULT '1970-01-01 00:00:00' COMMENT '流程创建时间',
  `modify_time` datetime NOT NULL DEFAULT '1970-01-01 00:00:00' COMMENT '流程修改时间',
  `archive` tinyint(4) NOT NULL DEFAULT '0' COMMENT '归档状态(0未删除，1删除)',
  `tenant` varchar(100) NOT NULL DEFAULT '' COMMENT '租户',
  `caller` varchar(100) NOT NULL DEFAULT '' COMMENT '调用方',
  PRIMARY KEY (`id`),
  UNIQUE KEY `uniq_node_instance_id` (`node_instance_id`),
  KEY `idx_fiid_sniid_nk` (`flow_instance_id`,`source_node_instance_id`,`node_key`)
) ENGINE=InnoDB AUTO_INCREMENT=12 DEFAULT CHARSET=utf8 ROW_FORMAT=COMPACT COMMENT='节点执行实例表';

-- ----------------------------
-- Records of ei_node_instance
-- ----------------------------
BEGIN;
INSERT INTO `ei_node_instance` (`id`, `node_instance_id`, `flow_instance_id`, `source_node_instance_id`, `instance_data_id`, `flow_deploy_id`, `node_key`, `source_node_key`, `tenant_id`, `status`, `create_time`, `modify_time`, `archive`, `tenant`, `caller`) VALUES (1, 'bb0018f2-cd40-11ed-b785-f2d57a4703d9', 'bae9aac0-cd40-11ed-b785-f2d57a4703d9', '', 'bafae8d1-cd40-11ed-b785-f2d57a4703d9', '0cc73bfc-ccaf-11ed-85d5-f2d57a4703d9', 'Event_0etvhi1', '', '', 1, '2023-03-28 16:15:42', '2023-03-28 16:15:42', 0, 'testTenant', 'testCaller');
INSERT INTO `ei_node_instance` (`id`, `node_instance_id`, `flow_instance_id`, `source_node_instance_id`, `instance_data_id`, `flow_deploy_id`, `node_key`, `source_node_key`, `tenant_id`, `status`, `create_time`, `modify_time`, `archive`, `tenant`, `caller`) VALUES (2, 'bb079303-cd40-11ed-b785-f2d57a4703d9', 'bae9aac0-cd40-11ed-b785-f2d57a4703d9', 'bb0018f2-cd40-11ed-b785-f2d57a4703d9', 'bafae8d1-cd40-11ed-b785-f2d57a4703d9', '0cc73bfc-ccaf-11ed-85d5-f2d57a4703d9', 'Activity_027d0rv', 'Event_0etvhi1', '', 1, '2023-03-28 16:15:42', '2023-03-28 16:15:46', 0, 'testTenant', 'testCaller');
INSERT INTO `ei_node_instance` (`id`, `node_instance_id`, `flow_instance_id`, `source_node_instance_id`, `instance_data_id`, `flow_deploy_id`, `node_key`, `source_node_key`, `tenant_id`, `status`, `create_time`, `modify_time`, `archive`, `tenant`, `caller`) VALUES (3, 'bd6c8515-cd40-11ed-b785-f2d57a4703d9', 'bae9aac0-cd40-11ed-b785-f2d57a4703d9', 'bb079303-cd40-11ed-b785-f2d57a4703d9', 'bd6ab054-cd40-11ed-b785-f2d57a4703d9', '0cc73bfc-ccaf-11ed-85d5-f2d57a4703d9', 'Activity_3b36jgt', 'Activity_027d0rv', '', 1, '2023-03-28 16:15:46', '2023-03-28 16:15:50', 0, 'testTenant', 'testCaller');
INSERT INTO `ei_node_instance` (`id`, `node_instance_id`, `flow_instance_id`, `source_node_instance_id`, `instance_data_id`, `flow_deploy_id`, `node_key`, `source_node_key`, `tenant_id`, `status`, `create_time`, `modify_time`, `archive`, `tenant`, `caller`) VALUES (4, 'bfa58527-cd40-11ed-b785-f2d57a4703d9', 'bae9aac0-cd40-11ed-b785-f2d57a4703d9', 'bd6c8515-cd40-11ed-b785-f2d57a4703d9', 'bfa3d776-cd40-11ed-b785-f2d57a4703d9', '0cc73bfc-ccaf-11ed-85d5-f2d57a4703d9', 'Gateway_335ghsi', 'Activity_3b36jgt', '', 1, '2023-03-28 16:15:50', '2023-03-28 16:15:50', 0, 'testTenant', 'testCaller');
INSERT INTO `ei_node_instance` (`id`, `node_instance_id`, `flow_instance_id`, `source_node_instance_id`, `instance_data_id`, `flow_deploy_id`, `node_key`, `source_node_key`, `tenant_id`, `status`, `create_time`, `modify_time`, `archive`, `tenant`, `caller`) VALUES (5, 'bfcb5ca8-cd40-11ed-b785-f2d57a4703d9', 'bae9aac0-cd40-11ed-b785-f2d57a4703d9', 'bfa58527-cd40-11ed-b785-f2d57a4703d9', 'bfa3d776-cd40-11ed-b785-f2d57a4703d9', '0cc73bfc-ccaf-11ed-85d5-f2d57a4703d9', 'Event_0e4i4kg', 'Gateway_335ghsi', '', 1, '2023-03-28 16:15:50', '2023-03-28 16:15:50', 0, 'testTenant', 'testCaller');
INSERT INTO `ei_node_instance` (`id`, `node_instance_id`, `flow_instance_id`, `source_node_instance_id`, `instance_data_id`, `flow_deploy_id`, `node_key`, `source_node_key`, `tenant_id`, `status`, `create_time`, `modify_time`, `archive`, `tenant`, `caller`) VALUES (6, 'cdb02f8b-cd40-11ed-b785-f2d57a4703d9', 'cdae0ca9-cd40-11ed-b785-f2d57a4703d9', '', 'cdaf452a-cd40-11ed-b785-f2d57a4703d9', '0cc73bfc-ccaf-11ed-85d5-f2d57a4703d9', 'Event_0etvhi1', '', '', 1, '2023-03-28 16:16:13', '2023-03-28 16:16:13', 0, 'testTenant', 'testCaller');
INSERT INTO `ei_node_instance` (`id`, `node_instance_id`, `flow_instance_id`, `source_node_instance_id`, `instance_data_id`, `flow_deploy_id`, `node_key`, `source_node_key`, `tenant_id`, `status`, `create_time`, `modify_time`, `archive`, `tenant`, `caller`) VALUES (7, 'cdb0a4bc-cd40-11ed-b785-f2d57a4703d9', 'cdae0ca9-cd40-11ed-b785-f2d57a4703d9', 'cdb02f8b-cd40-11ed-b785-f2d57a4703d9', 'cdaf452a-cd40-11ed-b785-f2d57a4703d9', '0cc73bfc-ccaf-11ed-85d5-f2d57a4703d9', 'Activity_027d0rv', 'Event_0etvhi1', '', 1, '2023-03-28 16:16:13', '2023-03-28 16:16:19', 0, 'testTenant', 'testCaller');
INSERT INTO `ei_node_instance` (`id`, `node_instance_id`, `flow_instance_id`, `source_node_instance_id`, `instance_data_id`, `flow_deploy_id`, `node_key`, `source_node_key`, `tenant_id`, `status`, `create_time`, `modify_time`, `archive`, `tenant`, `caller`) VALUES (8, 'd0f9dc4e-cd40-11ed-b785-f2d57a4703d9', 'cdae0ca9-cd40-11ed-b785-f2d57a4703d9', 'cdb0a4bc-cd40-11ed-b785-f2d57a4703d9', 'd0f855ad-cd40-11ed-b785-f2d57a4703d9', '0cc73bfc-ccaf-11ed-85d5-f2d57a4703d9', 'Activity_3b36jgt', 'Activity_027d0rv', '', 1, '2023-03-28 16:16:19', '2023-03-28 16:16:21', 0, 'testTenant', 'testCaller');
INSERT INTO `ei_node_instance` (`id`, `node_instance_id`, `flow_instance_id`, `source_node_instance_id`, `instance_data_id`, `flow_deploy_id`, `node_key`, `source_node_key`, `tenant_id`, `status`, `create_time`, `modify_time`, `archive`, `tenant`, `caller`) VALUES (9, 'd27bc160-cd40-11ed-b785-f2d57a4703d9', 'cdae0ca9-cd40-11ed-b785-f2d57a4703d9', 'd0f9dc4e-cd40-11ed-b785-f2d57a4703d9', 'd27a3abf-cd40-11ed-b785-f2d57a4703d9', '0cc73bfc-ccaf-11ed-85d5-f2d57a4703d9', 'Gateway_335ghsi', 'Activity_3b36jgt', '', 1, '2023-03-28 16:16:21', '2023-03-28 16:16:21', 0, 'testTenant', 'testCaller');
INSERT INTO `ei_node_instance` (`id`, `node_instance_id`, `flow_instance_id`, `source_node_instance_id`, `instance_data_id`, `flow_deploy_id`, `node_key`, `source_node_key`, `tenant_id`, `status`, `create_time`, `modify_time`, `archive`, `tenant`, `caller`) VALUES (10, 'd27c5da1-cd40-11ed-b785-f2d57a4703d9', 'cdae0ca9-cd40-11ed-b785-f2d57a4703d9', 'd27bc160-cd40-11ed-b785-f2d57a4703d9', 'd27a3abf-cd40-11ed-b785-f2d57a4703d9', '0cc73bfc-ccaf-11ed-85d5-f2d57a4703d9', 'Activity_0ag852a', 'Gateway_335ghsi', '', 1, '2023-03-28 16:16:21', '2023-03-28 16:16:23', 0, 'testTenant', 'testCaller');
INSERT INTO `ei_node_instance` (`id`, `node_instance_id`, `flow_instance_id`, `source_node_instance_id`, `instance_data_id`, `flow_deploy_id`, `node_key`, `source_node_key`, `tenant_id`, `status`, `create_time`, `modify_time`, `archive`, `tenant`, `caller`) VALUES (11, 'd3cad6a3-cd40-11ed-b785-f2d57a4703d9', 'cdae0ca9-cd40-11ed-b785-f2d57a4703d9', 'd27c5da1-cd40-11ed-b785-f2d57a4703d9', 'd3c9c532-cd40-11ed-b785-f2d57a4703d9', '0cc73bfc-ccaf-11ed-85d5-f2d57a4703d9', 'Event_0e4i4kg', 'Activity_0ag852a', '', 1, '2023-03-28 16:16:23', '2023-03-28 16:16:23', 0, 'testTenant', 'testCaller');
COMMIT;

-- ----------------------------
-- Table structure for ei_node_instance_log
-- ----------------------------
DROP TABLE IF EXISTS `ei_node_instance_log`;
CREATE TABLE `ei_node_instance_log` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT COMMENT '自增主键',
  `node_instance_id` varchar(128) NOT NULL DEFAULT '' COMMENT '节点执行实例id',
  `flow_instance_id` varchar(128) NOT NULL DEFAULT '' COMMENT '流程执行实例id',
  `instance_data_id` varchar(128) NOT NULL DEFAULT '' COMMENT '实例数据id',
  `node_key` varchar(64) NOT NULL DEFAULT '' COMMENT '节点唯一标识',
  `tenant_id` varchar(16) NOT NULL DEFAULT '' COMMENT '业务方标识',
  `type` tinyint(4) NOT NULL DEFAULT '0' COMMENT '操作类型(1.系统执行 2.任务提交 3.任务撤销)',
  `status` tinyint(4) NOT NULL DEFAULT '0' COMMENT '状态(1.处理成功 2.处理中 3.处理失败 4.处理已撤销)',
  `create_time` datetime NOT NULL DEFAULT '1970-01-01 00:00:00' COMMENT '流程创建时间',
  `archive` tinyint(4) NOT NULL DEFAULT '0' COMMENT '归档状态(0未删除，1删除)',
  `tenant` varchar(100) NOT NULL DEFAULT '' COMMENT '租户',
  `caller` varchar(100) NOT NULL DEFAULT '' COMMENT '调用方',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=17 DEFAULT CHARSET=utf8 ROW_FORMAT=COMPACT COMMENT='节点执行记录表';

-- ----------------------------
-- Records of ei_node_instance_log
-- ----------------------------
BEGIN;
INSERT INTO `ei_node_instance_log` (`id`, `node_instance_id`, `flow_instance_id`, `instance_data_id`, `node_key`, `tenant_id`, `type`, `status`, `create_time`, `archive`, `tenant`, `caller`) VALUES (1, 'bb0018f2-cd40-11ed-b785-f2d57a4703d9', 'bae9aac0-cd40-11ed-b785-f2d57a4703d9', 'bafae8d1-cd40-11ed-b785-f2d57a4703d9', 'Event_0etvhi1', '', 1, 1, '2023-03-28 16:15:42', 0, 'testTenant', 'testCaller');
INSERT INTO `ei_node_instance_log` (`id`, `node_instance_id`, `flow_instance_id`, `instance_data_id`, `node_key`, `tenant_id`, `type`, `status`, `create_time`, `archive`, `tenant`, `caller`) VALUES (2, 'bb079303-cd40-11ed-b785-f2d57a4703d9', 'bae9aac0-cd40-11ed-b785-f2d57a4703d9', 'bafae8d1-cd40-11ed-b785-f2d57a4703d9', 'Activity_027d0rv', '', 1, 2, '2023-03-28 16:15:42', 0, 'testTenant', 'testCaller');
INSERT INTO `ei_node_instance_log` (`id`, `node_instance_id`, `flow_instance_id`, `instance_data_id`, `node_key`, `tenant_id`, `type`, `status`, `create_time`, `archive`, `tenant`, `caller`) VALUES (3, 'bb079303-cd40-11ed-b785-f2d57a4703d9', 'bae9aac0-cd40-11ed-b785-f2d57a4703d9', 'bd6ab054-cd40-11ed-b785-f2d57a4703d9', 'Activity_027d0rv', '', 2, 1, '2023-03-28 16:15:46', 0, 'testTenant', 'testCaller');
INSERT INTO `ei_node_instance_log` (`id`, `node_instance_id`, `flow_instance_id`, `instance_data_id`, `node_key`, `tenant_id`, `type`, `status`, `create_time`, `archive`, `tenant`, `caller`) VALUES (4, 'bd6c8515-cd40-11ed-b785-f2d57a4703d9', 'bae9aac0-cd40-11ed-b785-f2d57a4703d9', 'bd6ab054-cd40-11ed-b785-f2d57a4703d9', 'Activity_3b36jgt', '', 2, 2, '2023-03-28 16:15:46', 0, 'testTenant', 'testCaller');
INSERT INTO `ei_node_instance_log` (`id`, `node_instance_id`, `flow_instance_id`, `instance_data_id`, `node_key`, `tenant_id`, `type`, `status`, `create_time`, `archive`, `tenant`, `caller`) VALUES (5, 'bd6c8515-cd40-11ed-b785-f2d57a4703d9', 'bae9aac0-cd40-11ed-b785-f2d57a4703d9', 'bfa3d776-cd40-11ed-b785-f2d57a4703d9', 'Activity_3b36jgt', '', 2, 1, '2023-03-28 16:15:50', 0, 'testTenant', 'testCaller');
INSERT INTO `ei_node_instance_log` (`id`, `node_instance_id`, `flow_instance_id`, `instance_data_id`, `node_key`, `tenant_id`, `type`, `status`, `create_time`, `archive`, `tenant`, `caller`) VALUES (6, 'bfa58527-cd40-11ed-b785-f2d57a4703d9', 'bae9aac0-cd40-11ed-b785-f2d57a4703d9', 'bfa3d776-cd40-11ed-b785-f2d57a4703d9', 'Gateway_335ghsi', '', 2, 1, '2023-03-28 16:15:50', 0, 'testTenant', 'testCaller');
INSERT INTO `ei_node_instance_log` (`id`, `node_instance_id`, `flow_instance_id`, `instance_data_id`, `node_key`, `tenant_id`, `type`, `status`, `create_time`, `archive`, `tenant`, `caller`) VALUES (7, 'bfcb5ca8-cd40-11ed-b785-f2d57a4703d9', 'bae9aac0-cd40-11ed-b785-f2d57a4703d9', 'bfa3d776-cd40-11ed-b785-f2d57a4703d9', 'Event_0e4i4kg', '', 2, 1, '2023-03-28 16:15:50', 0, 'testTenant', 'testCaller');
INSERT INTO `ei_node_instance_log` (`id`, `node_instance_id`, `flow_instance_id`, `instance_data_id`, `node_key`, `tenant_id`, `type`, `status`, `create_time`, `archive`, `tenant`, `caller`) VALUES (8, 'cdb02f8b-cd40-11ed-b785-f2d57a4703d9', 'cdae0ca9-cd40-11ed-b785-f2d57a4703d9', 'cdaf452a-cd40-11ed-b785-f2d57a4703d9', 'Event_0etvhi1', '', 1, 1, '2023-03-28 16:16:13', 0, 'testTenant', 'testCaller');
INSERT INTO `ei_node_instance_log` (`id`, `node_instance_id`, `flow_instance_id`, `instance_data_id`, `node_key`, `tenant_id`, `type`, `status`, `create_time`, `archive`, `tenant`, `caller`) VALUES (9, 'cdb0a4bc-cd40-11ed-b785-f2d57a4703d9', 'cdae0ca9-cd40-11ed-b785-f2d57a4703d9', 'cdaf452a-cd40-11ed-b785-f2d57a4703d9', 'Activity_027d0rv', '', 1, 2, '2023-03-28 16:16:13', 0, 'testTenant', 'testCaller');
INSERT INTO `ei_node_instance_log` (`id`, `node_instance_id`, `flow_instance_id`, `instance_data_id`, `node_key`, `tenant_id`, `type`, `status`, `create_time`, `archive`, `tenant`, `caller`) VALUES (10, 'cdb0a4bc-cd40-11ed-b785-f2d57a4703d9', 'cdae0ca9-cd40-11ed-b785-f2d57a4703d9', 'd0f855ad-cd40-11ed-b785-f2d57a4703d9', 'Activity_027d0rv', '', 2, 1, '2023-03-28 16:16:19', 0, 'testTenant', 'testCaller');
INSERT INTO `ei_node_instance_log` (`id`, `node_instance_id`, `flow_instance_id`, `instance_data_id`, `node_key`, `tenant_id`, `type`, `status`, `create_time`, `archive`, `tenant`, `caller`) VALUES (11, 'd0f9dc4e-cd40-11ed-b785-f2d57a4703d9', 'cdae0ca9-cd40-11ed-b785-f2d57a4703d9', 'd0f855ad-cd40-11ed-b785-f2d57a4703d9', 'Activity_3b36jgt', '', 2, 2, '2023-03-28 16:16:19', 0, 'testTenant', 'testCaller');
INSERT INTO `ei_node_instance_log` (`id`, `node_instance_id`, `flow_instance_id`, `instance_data_id`, `node_key`, `tenant_id`, `type`, `status`, `create_time`, `archive`, `tenant`, `caller`) VALUES (12, 'd0f9dc4e-cd40-11ed-b785-f2d57a4703d9', 'cdae0ca9-cd40-11ed-b785-f2d57a4703d9', 'd27a3abf-cd40-11ed-b785-f2d57a4703d9', 'Activity_3b36jgt', '', 2, 1, '2023-03-28 16:16:21', 0, 'testTenant', 'testCaller');
INSERT INTO `ei_node_instance_log` (`id`, `node_instance_id`, `flow_instance_id`, `instance_data_id`, `node_key`, `tenant_id`, `type`, `status`, `create_time`, `archive`, `tenant`, `caller`) VALUES (13, 'd27bc160-cd40-11ed-b785-f2d57a4703d9', 'cdae0ca9-cd40-11ed-b785-f2d57a4703d9', 'd27a3abf-cd40-11ed-b785-f2d57a4703d9', 'Gateway_335ghsi', '', 2, 1, '2023-03-28 16:16:21', 0, 'testTenant', 'testCaller');
INSERT INTO `ei_node_instance_log` (`id`, `node_instance_id`, `flow_instance_id`, `instance_data_id`, `node_key`, `tenant_id`, `type`, `status`, `create_time`, `archive`, `tenant`, `caller`) VALUES (14, 'd27c5da1-cd40-11ed-b785-f2d57a4703d9', 'cdae0ca9-cd40-11ed-b785-f2d57a4703d9', 'd27a3abf-cd40-11ed-b785-f2d57a4703d9', 'Activity_0ag852a', '', 2, 2, '2023-03-28 16:16:21', 0, 'testTenant', 'testCaller');
INSERT INTO `ei_node_instance_log` (`id`, `node_instance_id`, `flow_instance_id`, `instance_data_id`, `node_key`, `tenant_id`, `type`, `status`, `create_time`, `archive`, `tenant`, `caller`) VALUES (15, 'd27c5da1-cd40-11ed-b785-f2d57a4703d9', 'cdae0ca9-cd40-11ed-b785-f2d57a4703d9', 'd3c9c532-cd40-11ed-b785-f2d57a4703d9', 'Activity_0ag852a', '', 2, 1, '2023-03-28 16:16:23', 0, 'testTenant', 'testCaller');
INSERT INTO `ei_node_instance_log` (`id`, `node_instance_id`, `flow_instance_id`, `instance_data_id`, `node_key`, `tenant_id`, `type`, `status`, `create_time`, `archive`, `tenant`, `caller`) VALUES (16, 'd3cad6a3-cd40-11ed-b785-f2d57a4703d9', 'cdae0ca9-cd40-11ed-b785-f2d57a4703d9', 'd3c9c532-cd40-11ed-b785-f2d57a4703d9', 'Event_0e4i4kg', '', 2, 1, '2023-03-28 16:16:23', 0, 'testTenant', 'testCaller');
COMMIT;

-- ----------------------------
-- Table structure for em_flow_definition
-- ----------------------------
DROP TABLE IF EXISTS `em_flow_definition`;
CREATE TABLE `em_flow_definition` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT COMMENT '自增主键',
  `flow_module_id` varchar(128) NOT NULL DEFAULT '' COMMENT '流程模型id',
  `flow_name` varchar(64) NOT NULL DEFAULT '' COMMENT '流程名称',
  `flow_key` varchar(32) NOT NULL DEFAULT '' COMMENT '流程业务标识',
  `tenant_id` varchar(16) NOT NULL DEFAULT '' COMMENT '业务方标识',
  `flow_model` mediumtext COMMENT '表单定义',
  `status` tinyint(4) NOT NULL DEFAULT '0' COMMENT '状态(1.初始态 2.编辑中 3.已下线)',
  `create_time` datetime NOT NULL DEFAULT '1970-01-01 00:00:00' COMMENT '流程创建时间',
  `modify_time` datetime NOT NULL DEFAULT '1970-01-01 00:00:00' COMMENT '流程修改时间',
  `operator` varchar(32) NOT NULL DEFAULT '' COMMENT '操作人',
  `remark` varchar(512) NOT NULL DEFAULT '' COMMENT '备注',
  `archive` tinyint(4) NOT NULL DEFAULT '0' COMMENT '归档状态(0未删除，1删除)',
  `tenant` varchar(100) NOT NULL DEFAULT '' COMMENT '租户',
  `caller` varchar(100) NOT NULL DEFAULT '' COMMENT '调用方',
  PRIMARY KEY (`id`),
  UNIQUE KEY `uniq_flow_module_id` (`flow_module_id`)
) ENGINE=InnoDB AUTO_INCREMENT=11 DEFAULT CHARSET=utf8 ROW_FORMAT=COMPACT COMMENT='流程定义表';

-- ----------------------------
-- Records of em_flow_definition
-- ----------------------------
BEGIN;
INSERT INTO `em_flow_definition` (`id`, `flow_module_id`, `flow_name`, `flow_key`, `tenant_id`, `flow_model`, `status`, `create_time`, `modify_time`, `operator`, `remark`, `archive`, `tenant`, `caller`) VALUES (1, '21455a0b-cbac-11ed-9f32-f2d57a4703d9', '请假', 'qjlc', '', '{\"flowElementList\":[{\"incoming\":[],\"outgoing\":[\"Flow_0eu79q6\"],\"dockers\":[],\"type\":2,\"properties\":{\"name\":\"开始\",\"form_template_id\":1,\"x\":300,\"y\":290,\"text\":{\"x\":300,\"y\":330,\"value\":\"开始\"}},\"key\":\"Event_25k767c\"},{\"incoming\":[\"Flow_0eu79q6\"],\"outgoing\":[\"Flow_14n523u\"],\"dockers\":[],\"type\":4,\"properties\":{\"name\":\"1\",\"form_template_id\":1,\"x\":580,\"y\":290,\"text\":{\"x\":580,\"y\":290,\"value\":\"1\"}},\"key\":\"Activity_0dk2jeq\"},{\"incoming\":[\"Flow_14n523u\"],\"outgoing\":[\"Flow_2uqrncs\",\"Flow_09vnmg6\"],\"dockers\":[],\"type\":6,\"properties\":{\"name\":\"\",\"x\":850,\"y\":290,\"text\":\"\"},\"key\":\"Gateway_1rmsfmn\"},{\"incoming\":[\"Flow_2uqrncs\"],\"outgoing\":[\"Flow_13k9h85\"],\"dockers\":[],\"type\":4,\"properties\":{\"name\":\"<=3\",\"form_template_id\":1,\"x\":1120,\"y\":170,\"text\":{\"x\":1120,\"y\":170,\"value\":\"<=3\"}},\"key\":\"Activity_1sfrdrs\"},{\"incoming\":[\"Flow_09vnmg6\"],\"outgoing\":[\"Flow_3rvcjpo\"],\"dockers\":[],\"type\":4,\"properties\":{\"name\":\">3\",\"form_template_id\":1,\"x\":1120,\"y\":450,\"text\":{\"x\":1120,\"y\":450,\"value\":\">3\"}},\"key\":\"Activity_023n6cl\"},{\"incoming\":[\"Flow_13k9h85\",\"Flow_3rvcjpo\"],\"outgoing\":[],\"dockers\":[],\"type\":3,\"properties\":{\"name\":\"结束\",\"x\":1410,\"y\":310,\"text\":{\"x\":1410,\"y\":350,\"value\":\"结束\"}},\"key\":\"Event_0s5lf6d\"},{\"incoming\":[\"Event_25k767c\"],\"outgoing\":[\"Activity_0dk2jeq\"],\"type\":1,\"dockers\":[],\"properties\":{\"name\":\"\",\"text\":\"\",\"startPoint\":\"{\\\"x\\\":318,\\\"y\\\":290}\",\"endPoint\":\"{\\\"x\\\":530,\\\"y\\\":290}\",\"pointsList\":\"[{\\\"x\\\":318,\\\"y\\\":290},{\\\"x\\\":530,\\\"y\\\":290}]\"},\"key\":\"Flow_0eu79q6\"},{\"incoming\":[\"Activity_0dk2jeq\"],\"outgoing\":[\"Gateway_1rmsfmn\"],\"type\":1,\"dockers\":[],\"properties\":{\"name\":\"\",\"text\":\"\",\"startPoint\":\"{\\\"x\\\":630,\\\"y\\\":290}\",\"endPoint\":\"{\\\"x\\\":825,\\\"y\\\":290}\",\"pointsList\":\"[{\\\"x\\\":630,\\\"y\\\":290},{\\\"x\\\":825,\\\"y\\\":290}]\"},\"key\":\"Flow_14n523u\"},{\"incoming\":[\"Gateway_1rmsfmn\"],\"outgoing\":[\"Activity_1sfrdrs\"],\"type\":1,\"dockers\":[],\"properties\":{\"name\":\"\",\"defaultConditions\":\"false\",\"conditionsequenceflow\":\"days<=3\",\"text\":\"\",\"startPoint\":\"{\\\"x\\\":874,\\\"y\\\":289}\",\"endPoint\":\"{\\\"x\\\":1070,\\\"y\\\":170}\",\"pointsList\":\"[{\\\"x\\\":874,\\\"y\\\":289},{\\\"x\\\":905,\\\"y\\\":289},{\\\"x\\\":905,\\\"y\\\":170},{\\\"x\\\":1070,\\\"y\\\":170}]\"},\"key\":\"Flow_2uqrncs\"},{\"incoming\":[\"Gateway_1rmsfmn\"],\"outgoing\":[\"Activity_023n6cl\"],\"type\":1,\"dockers\":[],\"properties\":{\"name\":\"\",\"defaultConditions\":\"false\",\"conditionsequenceflow\":\"days>3\",\"text\":\"\",\"startPoint\":\"{\\\"x\\\":875,\\\"y\\\":290}\",\"endPoint\":\"{\\\"x\\\":1070,\\\"y\\\":450}\",\"pointsList\":\"[{\\\"x\\\":875,\\\"y\\\":290},{\\\"x\\\":906,\\\"y\\\":290},{\\\"x\\\":906,\\\"y\\\":450},{\\\"x\\\":1070,\\\"y\\\":450}]\"},\"key\":\"Flow_09vnmg6\"},{\"incoming\":[\"Activity_1sfrdrs\"],\"outgoing\":[\"Event_0s5lf6d\"],\"type\":1,\"dockers\":[],\"properties\":{\"name\":\"\",\"text\":\"\",\"startPoint\":\"{\\\"x\\\":1170,\\\"y\\\":170}\",\"endPoint\":\"{\\\"x\\\":1392,\\\"y\\\":310}\",\"pointsList\":\"[{\\\"x\\\":1170,\\\"y\\\":170},{\\\"x\\\":1200,\\\"y\\\":170},{\\\"x\\\":1200,\\\"y\\\":310},{\\\"x\\\":1392,\\\"y\\\":310}]\"},\"key\":\"Flow_13k9h85\"},{\"incoming\":[\"Activity_023n6cl\"],\"outgoing\":[\"Event_0s5lf6d\"],\"type\":1,\"dockers\":[],\"properties\":{\"name\":\"\",\"text\":\"\",\"startPoint\":\"{\\\"x\\\":1170,\\\"y\\\":450}\",\"endPoint\":\"{\\\"x\\\":1392,\\\"y\\\":310}\",\"pointsList\":\"[{\\\"x\\\":1170,\\\"y\\\":450},{\\\"x\\\":1200,\\\"y\\\":450},{\\\"x\\\":1200,\\\"y\\\":310},{\\\"x\\\":1392,\\\"y\\\":310}]\"},\"key\":\"Flow_3rvcjpo\"}]}', 2, '2023-03-26 16:25:31', '2023-03-27 17:46:20', 'lu', '', 0, 'testTenant', 'testCaller');
INSERT INTO `em_flow_definition` (`id`, `flow_module_id`, `flow_name`, `flow_key`, `tenant_id`, `flow_model`, `status`, `create_time`, `modify_time`, `operator`, `remark`, `archive`, `tenant`, `caller`) VALUES (8, '1a92318e-cc4d-11ed-a945-f2d57a4703d9', '作业票开票审批流程', 'zypsplc', '', '{\"flowElementList\":[]}', 2, '2023-03-27 11:11:45', '2023-03-28 14:39:49', 'demo', '', 0, 'testTenant', 'testCaller');
INSERT INTO `em_flow_definition` (`id`, `flow_module_id`, `flow_name`, `flow_key`, `tenant_id`, `flow_model`, `status`, `create_time`, `modify_time`, `operator`, `remark`, `archive`, `tenant`, `caller`) VALUES (9, '973340fe-cc72-11ed-a69e-f2d57a4703d9', '2', '111', '', NULL, 1, '2023-03-27 15:40:05', '2023-03-27 15:40:05', '特', '', 0, 'TEST_TENANT', 'TEST_CALLER');
INSERT INTO `em_flow_definition` (`id`, `flow_module_id`, `flow_name`, `flow_key`, `tenant_id`, `flow_model`, `status`, `create_time`, `modify_time`, `operator`, `remark`, `archive`, `tenant`, `caller`) VALUES (10, '118ce103-cc92-11ed-a9ed-f2d57a4703d9', '作业票开票审批流程', 'zypsplc', '', '{\"flowElementList\":[{\"incoming\":[],\"outgoing\":[\"Flow_13am9ue\"],\"dockers\":[],\"type\":2,\"properties\":{\"name\":\"开始\",\"form_template_id\":2,\"x\":220,\"y\":300,\"text\":{\"x\":220,\"y\":340,\"value\":\"开始\"}},\"key\":\"Event_0etvhi1\"},{\"incoming\":[\"Flow_13am9ue\"],\"outgoing\":[\"Flow_0s6i8kj\"],\"dockers\":[],\"type\":4,\"properties\":{\"name\":\"班组负责人上报\",\"form_template_id\":2,\"x\":450,\"y\":300,\"text\":{\"x\":450,\"y\":300,\"value\":\"班组负责人上报\"}},\"key\":\"Activity_027d0rv\"},{\"incoming\":[\"Flow_0s6i8kj\"],\"outgoing\":[\"Flow_3ruskhh\"],\"dockers\":[],\"type\":4,\"properties\":{\"name\":\"施工项目经理上报\",\"form_template_id\":2,\"x\":700,\"y\":300,\"text\":{\"x\":700,\"y\":300,\"value\":\"施工项目经理上报\"}},\"key\":\"Activity_3b36jgt\"},{\"incoming\":[\"Flow_3ruskhh\"],\"outgoing\":[\"Flow_1kdeshv\",\"Flow_1hajbcs\"],\"dockers\":[],\"type\":6,\"properties\":{\"name\":\"单一网关\",\"form_template_id\":2,\"x\":870,\"y\":300,\"text\":{\"x\":870,\"y\":300,\"value\":\"单一网关\"}},\"key\":\"Gateway_335ghsi\"},{\"incoming\":[\"Flow_1kdeshv\"],\"outgoing\":[\"Flow_1f91tq0\"],\"dockers\":[],\"type\":4,\"properties\":{\"name\":\"监理项目部管理员上报\",\"form_template_id\":2,\"x\":1140,\"y\":300,\"text\":{\"x\":1140,\"y\":300,\"value\":\"监理项目部管理员上报\"}},\"key\":\"Activity_0ag852a\"},{\"incoming\":[\"Flow_1f91tq0\",\"Flow_1hajbcs\"],\"outgoing\":[],\"dockers\":[],\"type\":3,\"properties\":{\"name\":\"结束\",\"form_template_id\":2,\"x\":1400,\"y\":300,\"text\":{\"x\":1400,\"y\":340,\"value\":\"结束\"}},\"key\":\"Event_0e4i4kg\"},{\"incoming\":[\"Event_0etvhi1\"],\"outgoing\":[\"Activity_027d0rv\"],\"type\":1,\"dockers\":[],\"properties\":{\"name\":\"\",\"form_template_id\":2,\"text\":\"\",\"startPoint\":\"{\\\"x\\\":238,\\\"y\\\":300}\",\"endPoint\":\"{\\\"x\\\":400,\\\"y\\\":300}\",\"pointsList\":\"[{\\\"x\\\":238,\\\"y\\\":300},{\\\"x\\\":400,\\\"y\\\":300}]\"},\"key\":\"Flow_13am9ue\"},{\"incoming\":[\"Activity_027d0rv\"],\"outgoing\":[\"Activity_3b36jgt\"],\"type\":1,\"dockers\":[],\"properties\":{\"name\":\"\",\"form_template_id\":2,\"text\":\"\",\"startPoint\":\"{\\\"x\\\":500,\\\"y\\\":300}\",\"endPoint\":\"{\\\"x\\\":650,\\\"y\\\":300}\",\"pointsList\":\"[{\\\"x\\\":500,\\\"y\\\":300},{\\\"x\\\":650,\\\"y\\\":300}]\"},\"key\":\"Flow_0s6i8kj\"},{\"incoming\":[\"Activity_3b36jgt\"],\"outgoing\":[\"Gateway_335ghsi\"],\"type\":1,\"dockers\":[],\"properties\":{\"name\":\"\",\"form_template_id\":2,\"text\":\"\",\"startPoint\":\"{\\\"x\\\":750,\\\"y\\\":300}\",\"endPoint\":\"{\\\"x\\\":845,\\\"y\\\":300}\",\"pointsList\":\"[{\\\"x\\\":750,\\\"y\\\":300},{\\\"x\\\":845,\\\"y\\\":300}]\"},\"key\":\"Flow_3ruskhh\"},{\"incoming\":[\"Gateway_335ghsi\"],\"outgoing\":[\"Activity_0ag852a\"],\"type\":1,\"dockers\":[],\"properties\":{\"conditionsequenceflow\":\"kplx_11==\'B\'\",\"name\":\"\",\"form_template_id\":2,\"text\":\"\",\"startPoint\":\"{\\\"x\\\":895,\\\"y\\\":300}\",\"endPoint\":\"{\\\"x\\\":1090,\\\"y\\\":300}\",\"pointsList\":\"[{\\\"x\\\":895,\\\"y\\\":300},{\\\"x\\\":1090,\\\"y\\\":300}]\"},\"key\":\"Flow_1kdeshv\"},{\"incoming\":[\"Activity_0ag852a\"],\"outgoing\":[\"Event_0e4i4kg\"],\"type\":1,\"dockers\":[],\"properties\":{\"name\":\"\",\"form_template_id\":2,\"text\":\"\",\"startPoint\":\"{\\\"x\\\":1190,\\\"y\\\":300}\",\"endPoint\":\"{\\\"x\\\":1382,\\\"y\\\":300}\",\"pointsList\":\"[{\\\"x\\\":1190,\\\"y\\\":300},{\\\"x\\\":1382,\\\"y\\\":300}]\"},\"key\":\"Flow_1f91tq0\"},{\"incoming\":[\"Gateway_335ghsi\"],\"outgoing\":[\"Event_0e4i4kg\"],\"type\":1,\"dockers\":[],\"properties\":{\"conditionsequenceflow\":\"kplx_11==\'A\'\",\"name\":\"\",\"form_template_id\":2,\"text\":\"\",\"startPoint\":\"{\\\"x\\\":895,\\\"y\\\":300}\",\"endPoint\":\"{\\\"x\\\":1400,\\\"y\\\":282}\",\"pointsList\":\"[{\\\"x\\\":895,\\\"y\\\":300},{\\\"x\\\":949,\\\"y\\\":300},{\\\"x\\\":949,\\\"y\\\":177},{\\\"x\\\":1400,\\\"y\\\":177},{\\\"x\\\":1400,\\\"y\\\":282}]\"},\"key\":\"Flow_1hajbcs\"}]}', 2, '2023-03-27 19:25:25', '2023-03-28 14:35:27', 'lu', '', 0, 'testTenant', 'testCaller');
COMMIT;

-- ----------------------------
-- Table structure for em_flow_deployment
-- ----------------------------
DROP TABLE IF EXISTS `em_flow_deployment`;
CREATE TABLE `em_flow_deployment` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT COMMENT '自增主键',
  `flow_deploy_id` varchar(128) NOT NULL DEFAULT '' COMMENT '流程模型部署id',
  `flow_module_id` varchar(128) NOT NULL DEFAULT '' COMMENT '流程模型id',
  `flow_name` varchar(64) NOT NULL DEFAULT '' COMMENT '流程名称',
  `flow_key` varchar(32) NOT NULL DEFAULT '' COMMENT '流程业务标识',
  `tenant_id` varchar(16) NOT NULL DEFAULT '' COMMENT '业务方标识',
  `flow_model` mediumtext COMMENT '表单定义',
  `status` tinyint(4) NOT NULL DEFAULT '0' COMMENT '状态(1.已部署 3.已下线)',
  `create_time` datetime NOT NULL DEFAULT '1970-01-01 00:00:00' COMMENT '流程创建时间',
  `modify_time` datetime NOT NULL DEFAULT '1970-01-01 00:00:00' COMMENT '流程修改时间',
  `operator` varchar(32) NOT NULL DEFAULT '' COMMENT '操作人',
  `remark` varchar(512) NOT NULL DEFAULT '' COMMENT '备注',
  `archive` tinyint(4) NOT NULL DEFAULT '0' COMMENT '归档状态(0未删除，1删除)',
  `tenant` varchar(100) NOT NULL DEFAULT '' COMMENT '租户',
  `caller` varchar(100) NOT NULL DEFAULT '' COMMENT '调用方',
  PRIMARY KEY (`id`),
  UNIQUE KEY `uniq_flow_deploy_id` (`flow_deploy_id`),
  KEY `idx_flow_module_id` (`flow_module_id`)
) ENGINE=InnoDB AUTO_INCREMENT=11 DEFAULT CHARSET=utf8 ROW_FORMAT=COMPACT COMMENT='流程部署表';

-- ----------------------------
-- Records of em_flow_deployment
-- ----------------------------
BEGIN;
INSERT INTO `em_flow_deployment` (`id`, `flow_deploy_id`, `flow_module_id`, `flow_name`, `flow_key`, `tenant_id`, `flow_model`, `status`, `create_time`, `modify_time`, `operator`, `remark`, `archive`, `tenant`, `caller`) VALUES (1, 'f4dff1e2-cbcb-11ed-b625-f2d57a4703d9', '21455a0b-cbac-11ed-9f32-f2d57a4703d9', '请假', 'qjlc', '', '{\"flowElementList\":[{\"incoming\":[],\"outgoing\":[\"Flow_0eu79q6\"],\"dockers\":[],\"type\":2,\"properties\":{\"name\":\"开始\",\"form_template_id\":1,\"x\":300,\"y\":290,\"text\":{\"x\":300,\"y\":330,\"value\":\"开始\"}},\"key\":\"Event_25k767c\"},{\"incoming\":[\"Flow_0eu79q6\"],\"outgoing\":[\"Flow_14n523u\"],\"dockers\":[],\"type\":4,\"properties\":{\"name\":\"\",\"form_template_id\":1,\"x\":580,\"y\":290,\"text\":\"\"},\"key\":\"Activity_0dk2jeq\"},{\"incoming\":[\"Flow_14n523u\"],\"outgoing\":[\"Flow_2uqrncs\",\"Flow_09vnmg6\"],\"dockers\":[],\"type\":6,\"properties\":{\"name\":\"\",\"x\":850,\"y\":290,\"text\":\"\"},\"key\":\"Gateway_1rmsfmn\"},{\"incoming\":[\"Flow_2uqrncs\"],\"outgoing\":[\"Flow_13k9h85\"],\"dockers\":[],\"type\":4,\"properties\":{\"name\":\"\",\"form_template_id\":1,\"x\":1120,\"y\":170,\"text\":\"\"},\"key\":\"Activity_1sfrdrs\"},{\"incoming\":[\"Flow_09vnmg6\"],\"outgoing\":[\"Flow_3rvcjpo\"],\"dockers\":[],\"type\":4,\"properties\":{\"name\":\"\",\"form_template_id\":1,\"x\":1120,\"y\":450,\"text\":\"\"},\"key\":\"Activity_023n6cl\"},{\"incoming\":[\"Flow_13k9h85\",\"Flow_3rvcjpo\"],\"outgoing\":[],\"dockers\":[],\"type\":3,\"properties\":{\"name\":\"结束\",\"x\":1410,\"y\":310,\"text\":{\"x\":1410,\"y\":350,\"value\":\"结束\"}},\"key\":\"Event_0s5lf6d\"},{\"incoming\":[\"Event_25k767c\"],\"outgoing\":[\"Activity_0dk2jeq\"],\"type\":1,\"dockers\":[],\"properties\":{\"name\":\"\",\"text\":\"\",\"startPoint\":\"{\\\"x\\\":318,\\\"y\\\":290}\",\"endPoint\":\"{\\\"x\\\":530,\\\"y\\\":290}\",\"pointsList\":\"[{\\\"x\\\":318,\\\"y\\\":290},{\\\"x\\\":530,\\\"y\\\":290}]\"},\"key\":\"Flow_0eu79q6\"},{\"incoming\":[\"Activity_0dk2jeq\"],\"outgoing\":[\"Gateway_1rmsfmn\"],\"type\":1,\"dockers\":[],\"properties\":{\"name\":\"\",\"text\":\"\",\"startPoint\":\"{\\\"x\\\":630,\\\"y\\\":290}\",\"endPoint\":\"{\\\"x\\\":825,\\\"y\\\":290}\",\"pointsList\":\"[{\\\"x\\\":630,\\\"y\\\":290},{\\\"x\\\":825,\\\"y\\\":290}]\"},\"key\":\"Flow_14n523u\"},{\"incoming\":[\"Gateway_1rmsfmn\"],\"outgoing\":[\"Activity_1sfrdrs\"],\"type\":1,\"dockers\":[],\"properties\":{\"name\":\"\",\"defaultConditions\":\"false\",\"conditionsequenceflow\":\"days<=3\",\"text\":\"\",\"startPoint\":\"{\\\"x\\\":874,\\\"y\\\":289}\",\"endPoint\":\"{\\\"x\\\":1070,\\\"y\\\":170}\",\"pointsList\":\"[{\\\"x\\\":874,\\\"y\\\":289},{\\\"x\\\":905,\\\"y\\\":289},{\\\"x\\\":905,\\\"y\\\":170},{\\\"x\\\":1070,\\\"y\\\":170}]\"},\"key\":\"Flow_2uqrncs\"},{\"incoming\":[\"Gateway_1rmsfmn\"],\"outgoing\":[\"Activity_023n6cl\"],\"type\":1,\"dockers\":[],\"properties\":{\"name\":\"\",\"defaultConditions\":\"false\",\"conditionsequenceflow\":\"days>3\",\"text\":\"\",\"startPoint\":\"{\\\"x\\\":875,\\\"y\\\":290}\",\"endPoint\":\"{\\\"x\\\":1070,\\\"y\\\":450}\",\"pointsList\":\"[{\\\"x\\\":875,\\\"y\\\":290},{\\\"x\\\":906,\\\"y\\\":290},{\\\"x\\\":906,\\\"y\\\":450},{\\\"x\\\":1070,\\\"y\\\":450}]\"},\"key\":\"Flow_09vnmg6\"},{\"incoming\":[\"Activity_1sfrdrs\"],\"outgoing\":[\"Event_0s5lf6d\"],\"type\":1,\"dockers\":[],\"properties\":{\"name\":\"\",\"text\":\"\",\"startPoint\":\"{\\\"x\\\":1170,\\\"y\\\":170}\",\"endPoint\":\"{\\\"x\\\":1392,\\\"y\\\":310}\",\"pointsList\":\"[{\\\"x\\\":1170,\\\"y\\\":170},{\\\"x\\\":1200,\\\"y\\\":170},{\\\"x\\\":1200,\\\"y\\\":310},{\\\"x\\\":1392,\\\"y\\\":310}]\"},\"key\":\"Flow_13k9h85\"},{\"incoming\":[\"Activity_023n6cl\"],\"outgoing\":[\"Event_0s5lf6d\"],\"type\":1,\"dockers\":[],\"properties\":{\"name\":\"\",\"text\":\"\",\"startPoint\":\"{\\\"x\\\":1170,\\\"y\\\":450}\",\"endPoint\":\"{\\\"x\\\":1392,\\\"y\\\":310}\",\"pointsList\":\"[{\\\"x\\\":1170,\\\"y\\\":450},{\\\"x\\\":1200,\\\"y\\\":450},{\\\"x\\\":1200,\\\"y\\\":310},{\\\"x\\\":1392,\\\"y\\\":310}]\"},\"key\":\"Flow_3rvcjpo\"}]}', 1, '2023-03-26 16:25:31', '2023-03-26 19:42:31', 'lu', '', 0, 'testTenant', 'testCaller');
INSERT INTO `em_flow_deployment` (`id`, `flow_deploy_id`, `flow_module_id`, `flow_name`, `flow_key`, `tenant_id`, `flow_model`, `status`, `create_time`, `modify_time`, `operator`, `remark`, `archive`, `tenant`, `caller`) VALUES (2, 'a36cecea-cc83-11ed-a9ed-f2d57a4703d9', '21455a0b-cbac-11ed-9f32-f2d57a4703d9', '请假', 'qjlc', '', '{\"flowElementList\":[{\"incoming\":[],\"outgoing\":[\"Flow_0eu79q6\"],\"dockers\":[],\"type\":2,\"properties\":{\"name\":\"开始\",\"form_template_id\":1,\"x\":300,\"y\":290,\"text\":{\"x\":300,\"y\":330,\"value\":\"开始\"}},\"key\":\"Event_25k767c\"},{\"incoming\":[\"Flow_0eu79q6\"],\"outgoing\":[\"Flow_14n523u\"],\"dockers\":[],\"type\":4,\"properties\":{\"name\":\"\",\"form_template_id\":1,\"x\":580,\"y\":290,\"text\":\"\"},\"key\":\"Activity_0dk2jeq\"},{\"incoming\":[\"Flow_14n523u\"],\"outgoing\":[\"Flow_2uqrncs\",\"Flow_09vnmg6\"],\"dockers\":[],\"type\":6,\"properties\":{\"name\":\"\",\"x\":850,\"y\":290,\"text\":\"\"},\"key\":\"Gateway_1rmsfmn\"},{\"incoming\":[\"Flow_2uqrncs\"],\"outgoing\":[\"Flow_13k9h85\"],\"dockers\":[],\"type\":4,\"properties\":{\"name\":\"\",\"form_template_id\":1,\"x\":1120,\"y\":170,\"text\":\"\"},\"key\":\"Activity_1sfrdrs\"},{\"incoming\":[\"Flow_09vnmg6\"],\"outgoing\":[\"Flow_3rvcjpo\"],\"dockers\":[],\"type\":4,\"properties\":{\"name\":\"\",\"form_template_id\":1,\"x\":1120,\"y\":450,\"text\":\"\"},\"key\":\"Activity_023n6cl\"},{\"incoming\":[\"Flow_13k9h85\",\"Flow_3rvcjpo\"],\"outgoing\":[],\"dockers\":[],\"type\":3,\"properties\":{\"name\":\"结束\",\"x\":1410,\"y\":310,\"text\":{\"x\":1410,\"y\":350,\"value\":\"结束\"}},\"key\":\"Event_0s5lf6d\"},{\"incoming\":[\"Event_25k767c\"],\"outgoing\":[\"Activity_0dk2jeq\"],\"type\":1,\"dockers\":[],\"properties\":{\"name\":\"\",\"text\":\"\",\"startPoint\":\"{\\\"x\\\":318,\\\"y\\\":290}\",\"endPoint\":\"{\\\"x\\\":530,\\\"y\\\":290}\",\"pointsList\":\"[{\\\"x\\\":318,\\\"y\\\":290},{\\\"x\\\":530,\\\"y\\\":290}]\"},\"key\":\"Flow_0eu79q6\"},{\"incoming\":[\"Activity_0dk2jeq\"],\"outgoing\":[\"Gateway_1rmsfmn\"],\"type\":1,\"dockers\":[],\"properties\":{\"name\":\"\",\"text\":\"\",\"startPoint\":\"{\\\"x\\\":630,\\\"y\\\":290}\",\"endPoint\":\"{\\\"x\\\":825,\\\"y\\\":290}\",\"pointsList\":\"[{\\\"x\\\":630,\\\"y\\\":290},{\\\"x\\\":825,\\\"y\\\":290}]\"},\"key\":\"Flow_14n523u\"},{\"incoming\":[\"Gateway_1rmsfmn\"],\"outgoing\":[\"Activity_1sfrdrs\"],\"type\":1,\"dockers\":[],\"properties\":{\"name\":\"\",\"defaultConditions\":\"false\",\"conditionsequenceflow\":\"days<=3\",\"text\":\"\",\"startPoint\":\"{\\\"x\\\":874,\\\"y\\\":289}\",\"endPoint\":\"{\\\"x\\\":1070,\\\"y\\\":170}\",\"pointsList\":\"[{\\\"x\\\":874,\\\"y\\\":289},{\\\"x\\\":905,\\\"y\\\":289},{\\\"x\\\":905,\\\"y\\\":170},{\\\"x\\\":1070,\\\"y\\\":170}]\"},\"key\":\"Flow_2uqrncs\"},{\"incoming\":[\"Gateway_1rmsfmn\"],\"outgoing\":[\"Activity_023n6cl\"],\"type\":1,\"dockers\":[],\"properties\":{\"name\":\"\",\"defaultConditions\":\"false\",\"conditionsequenceflow\":\"days>3\",\"text\":\"\",\"startPoint\":\"{\\\"x\\\":875,\\\"y\\\":290}\",\"endPoint\":\"{\\\"x\\\":1070,\\\"y\\\":450}\",\"pointsList\":\"[{\\\"x\\\":875,\\\"y\\\":290},{\\\"x\\\":906,\\\"y\\\":290},{\\\"x\\\":906,\\\"y\\\":450},{\\\"x\\\":1070,\\\"y\\\":450}]\"},\"key\":\"Flow_09vnmg6\"},{\"incoming\":[\"Activity_1sfrdrs\"],\"outgoing\":[\"Event_0s5lf6d\"],\"type\":1,\"dockers\":[],\"properties\":{\"name\":\"\",\"text\":\"\",\"startPoint\":\"{\\\"x\\\":1170,\\\"y\\\":170}\",\"endPoint\":\"{\\\"x\\\":1392,\\\"y\\\":310}\",\"pointsList\":\"[{\\\"x\\\":1170,\\\"y\\\":170},{\\\"x\\\":1200,\\\"y\\\":170},{\\\"x\\\":1200,\\\"y\\\":310},{\\\"x\\\":1392,\\\"y\\\":310}]\"},\"key\":\"Flow_13k9h85\"},{\"incoming\":[\"Activity_023n6cl\"],\"outgoing\":[\"Event_0s5lf6d\"],\"type\":1,\"dockers\":[],\"properties\":{\"name\":\"\",\"text\":\"\",\"startPoint\":\"{\\\"x\\\":1170,\\\"y\\\":450}\",\"endPoint\":\"{\\\"x\\\":1392,\\\"y\\\":310}\",\"pointsList\":\"[{\\\"x\\\":1170,\\\"y\\\":450},{\\\"x\\\":1200,\\\"y\\\":450},{\\\"x\\\":1200,\\\"y\\\":310},{\\\"x\\\":1392,\\\"y\\\":310}]\"},\"key\":\"Flow_3rvcjpo\"}]}', 1, '2023-03-26 16:25:31', '2023-03-26 19:42:31', 'lu', '', 0, 'testTenant', 'testCaller');
INSERT INTO `em_flow_deployment` (`id`, `flow_deploy_id`, `flow_module_id`, `flow_name`, `flow_key`, `tenant_id`, `flow_model`, `status`, `create_time`, `modify_time`, `operator`, `remark`, `archive`, `tenant`, `caller`) VALUES (3, '3a7727a2-cc84-11ed-a9ed-f2d57a4703d9', '21455a0b-cbac-11ed-9f32-f2d57a4703d9', '请假', 'qjlc', '', '{\"flowElementList\":[{\"incoming\":[],\"outgoing\":[\"Flow_0eu79q6\"],\"dockers\":[],\"type\":2,\"properties\":{\"name\":\"开始\",\"form_template_id\":1,\"x\":300,\"y\":290,\"text\":{\"x\":300,\"y\":330,\"value\":\"开始\"}},\"key\":\"Event_25k767c\"},{\"incoming\":[\"Flow_0eu79q6\"],\"outgoing\":[\"Flow_14n523u\"],\"dockers\":[],\"type\":4,\"properties\":{\"name\":\"1\",\"form_template_id\":1,\"x\":580,\"y\":290,\"text\":{\"x\":580,\"y\":290,\"value\":\"1\"}},\"key\":\"Activity_0dk2jeq\"},{\"incoming\":[\"Flow_14n523u\"],\"outgoing\":[\"Flow_2uqrncs\",\"Flow_09vnmg6\"],\"dockers\":[],\"type\":6,\"properties\":{\"name\":\"\",\"x\":850,\"y\":290,\"text\":\"\"},\"key\":\"Gateway_1rmsfmn\"},{\"incoming\":[\"Flow_2uqrncs\"],\"outgoing\":[\"Flow_13k9h85\"],\"dockers\":[],\"type\":4,\"properties\":{\"name\":\"<=3\",\"form_template_id\":1,\"x\":1120,\"y\":170,\"text\":{\"x\":1120,\"y\":170,\"value\":\"<=3\"}},\"key\":\"Activity_1sfrdrs\"},{\"incoming\":[\"Flow_09vnmg6\"],\"outgoing\":[\"Flow_3rvcjpo\"],\"dockers\":[],\"type\":4,\"properties\":{\"name\":\">3\",\"form_template_id\":1,\"x\":1120,\"y\":450,\"text\":{\"x\":1120,\"y\":450,\"value\":\">3\"}},\"key\":\"Activity_023n6cl\"},{\"incoming\":[\"Flow_13k9h85\",\"Flow_3rvcjpo\"],\"outgoing\":[],\"dockers\":[],\"type\":3,\"properties\":{\"name\":\"结束\",\"x\":1410,\"y\":310,\"text\":{\"x\":1410,\"y\":350,\"value\":\"结束\"}},\"key\":\"Event_0s5lf6d\"},{\"incoming\":[\"Event_25k767c\"],\"outgoing\":[\"Activity_0dk2jeq\"],\"type\":1,\"dockers\":[],\"properties\":{\"name\":\"\",\"text\":\"\",\"startPoint\":\"{\\\"x\\\":318,\\\"y\\\":290}\",\"endPoint\":\"{\\\"x\\\":530,\\\"y\\\":290}\",\"pointsList\":\"[{\\\"x\\\":318,\\\"y\\\":290},{\\\"x\\\":530,\\\"y\\\":290}]\"},\"key\":\"Flow_0eu79q6\"},{\"incoming\":[\"Activity_0dk2jeq\"],\"outgoing\":[\"Gateway_1rmsfmn\"],\"type\":1,\"dockers\":[],\"properties\":{\"name\":\"\",\"text\":\"\",\"startPoint\":\"{\\\"x\\\":630,\\\"y\\\":290}\",\"endPoint\":\"{\\\"x\\\":825,\\\"y\\\":290}\",\"pointsList\":\"[{\\\"x\\\":630,\\\"y\\\":290},{\\\"x\\\":825,\\\"y\\\":290}]\"},\"key\":\"Flow_14n523u\"},{\"incoming\":[\"Gateway_1rmsfmn\"],\"outgoing\":[\"Activity_1sfrdrs\"],\"type\":1,\"dockers\":[],\"properties\":{\"name\":\"\",\"defaultConditions\":\"false\",\"conditionsequenceflow\":\"days<=3\",\"text\":\"\",\"startPoint\":\"{\\\"x\\\":874,\\\"y\\\":289}\",\"endPoint\":\"{\\\"x\\\":1070,\\\"y\\\":170}\",\"pointsList\":\"[{\\\"x\\\":874,\\\"y\\\":289},{\\\"x\\\":905,\\\"y\\\":289},{\\\"x\\\":905,\\\"y\\\":170},{\\\"x\\\":1070,\\\"y\\\":170}]\"},\"key\":\"Flow_2uqrncs\"},{\"incoming\":[\"Gateway_1rmsfmn\"],\"outgoing\":[\"Activity_023n6cl\"],\"type\":1,\"dockers\":[],\"properties\":{\"name\":\"\",\"defaultConditions\":\"false\",\"conditionsequenceflow\":\"days>3\",\"text\":\"\",\"startPoint\":\"{\\\"x\\\":875,\\\"y\\\":290}\",\"endPoint\":\"{\\\"x\\\":1070,\\\"y\\\":450}\",\"pointsList\":\"[{\\\"x\\\":875,\\\"y\\\":290},{\\\"x\\\":906,\\\"y\\\":290},{\\\"x\\\":906,\\\"y\\\":450},{\\\"x\\\":1070,\\\"y\\\":450}]\"},\"key\":\"Flow_09vnmg6\"},{\"incoming\":[\"Activity_1sfrdrs\"],\"outgoing\":[\"Event_0s5lf6d\"],\"type\":1,\"dockers\":[],\"properties\":{\"name\":\"\",\"text\":\"\",\"startPoint\":\"{\\\"x\\\":1170,\\\"y\\\":170}\",\"endPoint\":\"{\\\"x\\\":1392,\\\"y\\\":310}\",\"pointsList\":\"[{\\\"x\\\":1170,\\\"y\\\":170},{\\\"x\\\":1200,\\\"y\\\":170},{\\\"x\\\":1200,\\\"y\\\":310},{\\\"x\\\":1392,\\\"y\\\":310}]\"},\"key\":\"Flow_13k9h85\"},{\"incoming\":[\"Activity_023n6cl\"],\"outgoing\":[\"Event_0s5lf6d\"],\"type\":1,\"dockers\":[],\"properties\":{\"name\":\"\",\"text\":\"\",\"startPoint\":\"{\\\"x\\\":1170,\\\"y\\\":450}\",\"endPoint\":\"{\\\"x\\\":1392,\\\"y\\\":310}\",\"pointsList\":\"[{\\\"x\\\":1170,\\\"y\\\":450},{\\\"x\\\":1200,\\\"y\\\":450},{\\\"x\\\":1200,\\\"y\\\":310},{\\\"x\\\":1392,\\\"y\\\":310}]\"},\"key\":\"Flow_3rvcjpo\"}]}', 1, '2023-03-26 16:25:31', '2023-03-27 17:46:20', 'lu', '', 0, 'testTenant', 'testCaller');
INSERT INTO `em_flow_deployment` (`id`, `flow_deploy_id`, `flow_module_id`, `flow_name`, `flow_key`, `tenant_id`, `flow_model`, `status`, `create_time`, `modify_time`, `operator`, `remark`, `archive`, `tenant`, `caller`) VALUES (4, '4bed9231-cc94-11ed-a5b5-f2d57a4703d9', '118ce103-cc92-11ed-a9ed-f2d57a4703d9', '作业票审批流程', 'zypsplc', '', '{\"flowElementList\":[{\"incoming\":[],\"outgoing\":[\"Flow_13am9ue\"],\"dockers\":[],\"type\":2,\"properties\":{\"name\":\"开始\",\"x\":220,\"y\":300,\"text\":{\"x\":220,\"y\":340,\"value\":\"开始\"}},\"key\":\"Event_0etvhi1\"},{\"incoming\":[\"Flow_13am9ue\"],\"outgoing\":[\"Flow_0s6i8kj\"],\"dockers\":[],\"type\":4,\"properties\":{\"name\":\"班组负责人上报\",\"x\":450,\"y\":300,\"text\":{\"x\":450,\"y\":300,\"value\":\"班组负责人上报\"}},\"key\":\"Activity_027d0rv\"},{\"incoming\":[\"Flow_0s6i8kj\"],\"outgoing\":[\"Flow_3ruskhh\"],\"dockers\":[],\"type\":4,\"properties\":{\"name\":\"施工项目经理上报\",\"x\":700,\"y\":300,\"text\":{\"x\":700,\"y\":300,\"value\":\"施工项目经理上报\"}},\"key\":\"Activity_3b36jgt\"},{\"incoming\":[\"Flow_3ruskhh\"],\"outgoing\":[\"Flow_1kdeshv\",\"Flow_1hajbcs\"],\"dockers\":[],\"type\":6,\"properties\":{\"name\":\"单一网关\",\"x\":870,\"y\":300,\"text\":{\"x\":870,\"y\":300,\"value\":\"单一网关\"}},\"key\":\"Gateway_335ghsi\"},{\"incoming\":[\"Flow_1kdeshv\"],\"outgoing\":[\"Flow_1f91tq0\"],\"dockers\":[],\"type\":4,\"properties\":{\"name\":\"监理项目部管理员上报\",\"x\":1140,\"y\":300,\"text\":{\"x\":1140,\"y\":300,\"value\":\"监理项目部管理员上报\"}},\"key\":\"Activity_0ag852a\"},{\"incoming\":[\"Flow_1f91tq0\",\"Flow_1hajbcs\"],\"outgoing\":[],\"dockers\":[],\"type\":3,\"properties\":{\"name\":\"结束\",\"x\":1400,\"y\":300,\"text\":{\"x\":1400,\"y\":340,\"value\":\"结束\"}},\"key\":\"Event_0e4i4kg\"},{\"incoming\":[\"Event_0etvhi1\"],\"outgoing\":[\"Activity_027d0rv\"],\"type\":1,\"dockers\":[],\"properties\":{\"name\":\"\",\"text\":\"\",\"startPoint\":\"{\\\"x\\\":238,\\\"y\\\":300}\",\"endPoint\":\"{\\\"x\\\":400,\\\"y\\\":300}\",\"pointsList\":\"[{\\\"x\\\":238,\\\"y\\\":300},{\\\"x\\\":400,\\\"y\\\":300}]\"},\"key\":\"Flow_13am9ue\"},{\"incoming\":[\"Activity_027d0rv\"],\"outgoing\":[\"Activity_3b36jgt\"],\"type\":1,\"dockers\":[],\"properties\":{\"name\":\"\",\"text\":\"\",\"startPoint\":\"{\\\"x\\\":500,\\\"y\\\":300}\",\"endPoint\":\"{\\\"x\\\":650,\\\"y\\\":300}\",\"pointsList\":\"[{\\\"x\\\":500,\\\"y\\\":300},{\\\"x\\\":650,\\\"y\\\":300}]\"},\"key\":\"Flow_0s6i8kj\"},{\"incoming\":[\"Activity_3b36jgt\"],\"outgoing\":[\"Gateway_335ghsi\"],\"type\":1,\"dockers\":[],\"properties\":{\"name\":\"\",\"text\":\"\",\"startPoint\":\"{\\\"x\\\":750,\\\"y\\\":300}\",\"endPoint\":\"{\\\"x\\\":845,\\\"y\\\":300}\",\"pointsList\":\"[{\\\"x\\\":750,\\\"y\\\":300},{\\\"x\\\":845,\\\"y\\\":300}]\"},\"key\":\"Flow_3ruskhh\"},{\"incoming\":[\"Gateway_335ghsi\"],\"outgoing\":[\"Activity_0ag852a\"],\"type\":1,\"dockers\":[],\"properties\":{\"conditionsequenceflow\":\"ticketType!=\'A\'\",\"name\":\"\",\"text\":\"\",\"startPoint\":\"{\\\"x\\\":895,\\\"y\\\":300}\",\"endPoint\":\"{\\\"x\\\":1090,\\\"y\\\":300}\",\"pointsList\":\"[{\\\"x\\\":895,\\\"y\\\":300},{\\\"x\\\":1090,\\\"y\\\":300}]\"},\"key\":\"Flow_1kdeshv\"},{\"incoming\":[\"Activity_0ag852a\"],\"outgoing\":[\"Event_0e4i4kg\"],\"type\":1,\"dockers\":[],\"properties\":{\"name\":\"\",\"text\":\"\",\"startPoint\":\"{\\\"x\\\":1190,\\\"y\\\":300}\",\"endPoint\":\"{\\\"x\\\":1382,\\\"y\\\":300}\",\"pointsList\":\"[{\\\"x\\\":1190,\\\"y\\\":300},{\\\"x\\\":1382,\\\"y\\\":300}]\"},\"key\":\"Flow_1f91tq0\"},{\"incoming\":[\"Gateway_335ghsi\"],\"outgoing\":[\"Event_0e4i4kg\"],\"type\":1,\"dockers\":[],\"properties\":{\"conditionsequenceflow\":\"ticketType==\'A\'\",\"name\":\"\",\"text\":\"\",\"startPoint\":\"{\\\"x\\\":895,\\\"y\\\":300}\",\"endPoint\":\"{\\\"x\\\":1400,\\\"y\\\":282}\",\"pointsList\":\"[{\\\"x\\\":895,\\\"y\\\":300},{\\\"x\\\":925,\\\"y\\\":300},{\\\"x\\\":925,\\\"y\\\":177},{\\\"x\\\":1400,\\\"y\\\":177},{\\\"x\\\":1400,\\\"y\\\":282}]\"},\"key\":\"Flow_1hajbcs\"}]}', 1, '2023-03-27 19:25:25', '2023-03-27 19:41:21', 'lu', '', 0, 'testTenant', 'testCaller');
INSERT INTO `em_flow_deployment` (`id`, `flow_deploy_id`, `flow_module_id`, `flow_name`, `flow_key`, `tenant_id`, `flow_model`, `status`, `create_time`, `modify_time`, `operator`, `remark`, `archive`, `tenant`, `caller`) VALUES (5, '5184d872-cc94-11ed-a5b5-f2d57a4703d9', '118ce103-cc92-11ed-a9ed-f2d57a4703d9', '作业票审批流程', 'zypsplc', '', '{\"flowElementList\":[{\"incoming\":[],\"outgoing\":[\"Flow_13am9ue\"],\"dockers\":[],\"type\":2,\"properties\":{\"name\":\"开始\",\"x\":220,\"y\":300,\"text\":{\"x\":220,\"y\":340,\"value\":\"开始\"}},\"key\":\"Event_0etvhi1\"},{\"incoming\":[\"Flow_13am9ue\"],\"outgoing\":[\"Flow_0s6i8kj\"],\"dockers\":[],\"type\":4,\"properties\":{\"name\":\"班组负责人上报\",\"x\":450,\"y\":300,\"text\":{\"x\":450,\"y\":300,\"value\":\"班组负责人上报\"}},\"key\":\"Activity_027d0rv\"},{\"incoming\":[\"Flow_0s6i8kj\"],\"outgoing\":[\"Flow_3ruskhh\"],\"dockers\":[],\"type\":4,\"properties\":{\"name\":\"施工项目经理上报\",\"x\":700,\"y\":300,\"text\":{\"x\":700,\"y\":300,\"value\":\"施工项目经理上报\"}},\"key\":\"Activity_3b36jgt\"},{\"incoming\":[\"Flow_3ruskhh\"],\"outgoing\":[\"Flow_1kdeshv\",\"Flow_1hajbcs\"],\"dockers\":[],\"type\":6,\"properties\":{\"name\":\"单一网关\",\"x\":870,\"y\":300,\"text\":{\"x\":870,\"y\":300,\"value\":\"单一网关\"}},\"key\":\"Gateway_335ghsi\"},{\"incoming\":[\"Flow_1kdeshv\"],\"outgoing\":[\"Flow_1f91tq0\"],\"dockers\":[],\"type\":4,\"properties\":{\"name\":\"监理项目部管理员上报\",\"x\":1140,\"y\":300,\"text\":{\"x\":1140,\"y\":300,\"value\":\"监理项目部管理员上报\"}},\"key\":\"Activity_0ag852a\"},{\"incoming\":[\"Flow_1f91tq0\",\"Flow_1hajbcs\"],\"outgoing\":[],\"dockers\":[],\"type\":3,\"properties\":{\"name\":\"结束\",\"x\":1400,\"y\":300,\"text\":{\"x\":1400,\"y\":340,\"value\":\"结束\"}},\"key\":\"Event_0e4i4kg\"},{\"incoming\":[\"Event_0etvhi1\"],\"outgoing\":[\"Activity_027d0rv\"],\"type\":1,\"dockers\":[],\"properties\":{\"name\":\"\",\"text\":\"\",\"startPoint\":\"{\\\"x\\\":238,\\\"y\\\":300}\",\"endPoint\":\"{\\\"x\\\":400,\\\"y\\\":300}\",\"pointsList\":\"[{\\\"x\\\":238,\\\"y\\\":300},{\\\"x\\\":400,\\\"y\\\":300}]\"},\"key\":\"Flow_13am9ue\"},{\"incoming\":[\"Activity_027d0rv\"],\"outgoing\":[\"Activity_3b36jgt\"],\"type\":1,\"dockers\":[],\"properties\":{\"name\":\"\",\"text\":\"\",\"startPoint\":\"{\\\"x\\\":500,\\\"y\\\":300}\",\"endPoint\":\"{\\\"x\\\":650,\\\"y\\\":300}\",\"pointsList\":\"[{\\\"x\\\":500,\\\"y\\\":300},{\\\"x\\\":650,\\\"y\\\":300}]\"},\"key\":\"Flow_0s6i8kj\"},{\"incoming\":[\"Activity_3b36jgt\"],\"outgoing\":[\"Gateway_335ghsi\"],\"type\":1,\"dockers\":[],\"properties\":{\"name\":\"\",\"text\":\"\",\"startPoint\":\"{\\\"x\\\":750,\\\"y\\\":300}\",\"endPoint\":\"{\\\"x\\\":845,\\\"y\\\":300}\",\"pointsList\":\"[{\\\"x\\\":750,\\\"y\\\":300},{\\\"x\\\":845,\\\"y\\\":300}]\"},\"key\":\"Flow_3ruskhh\"},{\"incoming\":[\"Gateway_335ghsi\"],\"outgoing\":[\"Activity_0ag852a\"],\"type\":1,\"dockers\":[],\"properties\":{\"conditionsequenceflow\":\"ticketType!=\'A\'\",\"name\":\"\",\"text\":\"\",\"startPoint\":\"{\\\"x\\\":895,\\\"y\\\":300}\",\"endPoint\":\"{\\\"x\\\":1090,\\\"y\\\":300}\",\"pointsList\":\"[{\\\"x\\\":895,\\\"y\\\":300},{\\\"x\\\":1090,\\\"y\\\":300}]\"},\"key\":\"Flow_1kdeshv\"},{\"incoming\":[\"Activity_0ag852a\"],\"outgoing\":[\"Event_0e4i4kg\"],\"type\":1,\"dockers\":[],\"properties\":{\"name\":\"\",\"text\":\"\",\"startPoint\":\"{\\\"x\\\":1190,\\\"y\\\":300}\",\"endPoint\":\"{\\\"x\\\":1382,\\\"y\\\":300}\",\"pointsList\":\"[{\\\"x\\\":1190,\\\"y\\\":300},{\\\"x\\\":1382,\\\"y\\\":300}]\"},\"key\":\"Flow_1f91tq0\"},{\"incoming\":[\"Gateway_335ghsi\"],\"outgoing\":[\"Event_0e4i4kg\"],\"type\":1,\"dockers\":[],\"properties\":{\"conditionsequenceflow\":\"ticketType==\'A\'\",\"name\":\"\",\"text\":\"\",\"startPoint\":\"{\\\"x\\\":895,\\\"y\\\":300}\",\"endPoint\":\"{\\\"x\\\":1400,\\\"y\\\":282}\",\"pointsList\":\"[{\\\"x\\\":895,\\\"y\\\":300},{\\\"x\\\":949,\\\"y\\\":300},{\\\"x\\\":949,\\\"y\\\":177},{\\\"x\\\":1400,\\\"y\\\":177},{\\\"x\\\":1400,\\\"y\\\":282}]\"},\"key\":\"Flow_1hajbcs\"}]}', 1, '2023-03-27 19:25:25', '2023-03-27 19:41:30', 'lu', '', 0, 'testTenant', 'testCaller');
INSERT INTO `em_flow_deployment` (`id`, `flow_deploy_id`, `flow_module_id`, `flow_name`, `flow_key`, `tenant_id`, `flow_model`, `status`, `create_time`, `modify_time`, `operator`, `remark`, `archive`, `tenant`, `caller`) VALUES (6, '8d89a353-cc9e-11ed-a5b5-f2d57a4703d9', '118ce103-cc92-11ed-a9ed-f2d57a4703d9', '作业票开票审批流程', 'zypsplc', '', '{\"flowElementList\":[{\"incoming\":[],\"outgoing\":[\"Flow_13am9ue\"],\"dockers\":[],\"type\":2,\"properties\":{\"name\":\"开始\",\"x\":220,\"y\":300,\"text\":{\"x\":220,\"y\":340,\"value\":\"开始\"},\"form_template_id\":2},\"key\":\"Event_0etvhi1\"},{\"incoming\":[\"Flow_13am9ue\"],\"outgoing\":[\"Flow_0s6i8kj\"],\"dockers\":[],\"type\":4,\"properties\":{\"name\":\"班组负责人上报\",\"x\":450,\"y\":300,\"text\":{\"x\":450,\"y\":300,\"value\":\"班组负责人上报\"},\"form_template_id\":2},\"key\":\"Activity_027d0rv\"},{\"incoming\":[\"Flow_0s6i8kj\"],\"outgoing\":[\"Flow_3ruskhh\"],\"dockers\":[],\"type\":4,\"properties\":{\"name\":\"施工项目经理上报\",\"x\":700,\"y\":300,\"text\":{\"x\":700,\"y\":300,\"value\":\"施工项目经理上报\"},\"form_template_id\":2},\"key\":\"Activity_3b36jgt\"},{\"incoming\":[\"Flow_3ruskhh\"],\"outgoing\":[\"Flow_1kdeshv\",\"Flow_1hajbcs\"],\"dockers\":[],\"type\":6,\"properties\":{\"name\":\"单一网关\",\"x\":870,\"y\":300,\"text\":{\"x\":870,\"y\":300,\"value\":\"单一网关\"},\"form_template_id\":2},\"key\":\"Gateway_335ghsi\"},{\"incoming\":[\"Flow_1kdeshv\"],\"outgoing\":[\"Flow_1f91tq0\"],\"dockers\":[],\"type\":4,\"properties\":{\"name\":\"监理项目部管理员上报\",\"x\":1140,\"y\":300,\"text\":{\"x\":1140,\"y\":300,\"value\":\"监理项目部管理员上报\"},\"form_template_id\":2},\"key\":\"Activity_0ag852a\"},{\"incoming\":[\"Flow_1f91tq0\",\"Flow_1hajbcs\"],\"outgoing\":[],\"dockers\":[],\"type\":3,\"properties\":{\"name\":\"结束\",\"x\":1400,\"y\":300,\"text\":{\"x\":1400,\"y\":340,\"value\":\"结束\"},\"form_template_id\":2},\"key\":\"Event_0e4i4kg\"},{\"incoming\":[\"Event_0etvhi1\"],\"outgoing\":[\"Activity_027d0rv\"],\"type\":1,\"dockers\":[],\"properties\":{\"name\":\"\",\"text\":\"\",\"startPoint\":\"{\\\"x\\\":238,\\\"y\\\":300}\",\"endPoint\":\"{\\\"x\\\":400,\\\"y\\\":300}\",\"pointsList\":\"[{\\\"x\\\":238,\\\"y\\\":300},{\\\"x\\\":400,\\\"y\\\":300}]\",\"form_template_id\":2},\"key\":\"Flow_13am9ue\"},{\"incoming\":[\"Activity_027d0rv\"],\"outgoing\":[\"Activity_3b36jgt\"],\"type\":1,\"dockers\":[],\"properties\":{\"name\":\"\",\"text\":\"\",\"startPoint\":\"{\\\"x\\\":500,\\\"y\\\":300}\",\"endPoint\":\"{\\\"x\\\":650,\\\"y\\\":300}\",\"pointsList\":\"[{\\\"x\\\":500,\\\"y\\\":300},{\\\"x\\\":650,\\\"y\\\":300}]\",\"form_template_id\":2},\"key\":\"Flow_0s6i8kj\"},{\"incoming\":[\"Activity_3b36jgt\"],\"outgoing\":[\"Gateway_335ghsi\"],\"type\":1,\"dockers\":[],\"properties\":{\"name\":\"\",\"text\":\"\",\"startPoint\":\"{\\\"x\\\":750,\\\"y\\\":300}\",\"endPoint\":\"{\\\"x\\\":845,\\\"y\\\":300}\",\"pointsList\":\"[{\\\"x\\\":750,\\\"y\\\":300},{\\\"x\\\":845,\\\"y\\\":300}]\",\"form_template_id\":2},\"key\":\"Flow_3ruskhh\"},{\"incoming\":[\"Gateway_335ghsi\"],\"outgoing\":[\"Activity_0ag852a\"],\"type\":1,\"dockers\":[],\"properties\":{\"conditionsequenceflow\":\"ticketType!=\'A\'\",\"name\":\"\",\"text\":\"\",\"startPoint\":\"{\\\"x\\\":895,\\\"y\\\":300}\",\"endPoint\":\"{\\\"x\\\":1090,\\\"y\\\":300}\",\"pointsList\":\"[{\\\"x\\\":895,\\\"y\\\":300},{\\\"x\\\":1090,\\\"y\\\":300}]\",\"form_template_id\":2},\"key\":\"Flow_1kdeshv\"},{\"incoming\":[\"Activity_0ag852a\"],\"outgoing\":[\"Event_0e4i4kg\"],\"type\":1,\"dockers\":[],\"properties\":{\"name\":\"\",\"text\":\"\",\"startPoint\":\"{\\\"x\\\":1190,\\\"y\\\":300}\",\"endPoint\":\"{\\\"x\\\":1382,\\\"y\\\":300}\",\"pointsList\":\"[{\\\"x\\\":1190,\\\"y\\\":300},{\\\"x\\\":1382,\\\"y\\\":300}]\",\"form_template_id\":2},\"key\":\"Flow_1f91tq0\"},{\"incoming\":[\"Gateway_335ghsi\"],\"outgoing\":[\"Event_0e4i4kg\"],\"type\":1,\"dockers\":[],\"properties\":{\"conditionsequenceflow\":\"ticketType==\'A\'\",\"name\":\"\",\"text\":\"\",\"startPoint\":\"{\\\"x\\\":895,\\\"y\\\":300}\",\"endPoint\":\"{\\\"x\\\":1400,\\\"y\\\":282}\",\"pointsList\":\"[{\\\"x\\\":895,\\\"y\\\":300},{\\\"x\\\":949,\\\"y\\\":300},{\\\"x\\\":949,\\\"y\\\":177},{\\\"x\\\":1400,\\\"y\\\":177},{\\\"x\\\":1400,\\\"y\\\":282}]\",\"form_template_id\":2},\"key\":\"Flow_1hajbcs\"}]}', 1, '2023-03-27 19:25:25', '2023-03-27 20:29:58', 'lu', '', 0, 'testTenant', 'testCaller');
INSERT INTO `em_flow_deployment` (`id`, `flow_deploy_id`, `flow_module_id`, `flow_name`, `flow_key`, `tenant_id`, `flow_model`, `status`, `create_time`, `modify_time`, `operator`, `remark`, `archive`, `tenant`, `caller`) VALUES (7, 'd4ddd4b4-cc9e-11ed-a5b5-f2d57a4703d9', '118ce103-cc92-11ed-a9ed-f2d57a4703d9', '作业票开票审批流程', 'zypsplc', '', '{\"flowElementList\":[{\"incoming\":[],\"outgoing\":[\"Flow_13am9ue\"],\"dockers\":[],\"type\":2,\"properties\":{\"name\":\"开始\",\"form_template_id\":2,\"x\":220,\"y\":300,\"text\":{\"x\":220,\"y\":340,\"value\":\"开始\"}},\"key\":\"Event_0etvhi1\"},{\"incoming\":[\"Flow_13am9ue\"],\"outgoing\":[\"Flow_0s6i8kj\"],\"dockers\":[],\"type\":4,\"properties\":{\"name\":\"班组负责人上报\",\"form_template_id\":2,\"x\":450,\"y\":300,\"text\":{\"x\":450,\"y\":300,\"value\":\"班组负责人上报\"}},\"key\":\"Activity_027d0rv\"},{\"incoming\":[\"Flow_0s6i8kj\"],\"outgoing\":[\"Flow_3ruskhh\"],\"dockers\":[],\"type\":4,\"properties\":{\"name\":\"施工项目经理上报\",\"form_template_id\":2,\"x\":700,\"y\":300,\"text\":{\"x\":700,\"y\":300,\"value\":\"施工项目经理上报\"}},\"key\":\"Activity_3b36jgt\"},{\"incoming\":[\"Flow_3ruskhh\"],\"outgoing\":[\"Flow_1kdeshv\",\"Flow_1hajbcs\"],\"dockers\":[],\"type\":6,\"properties\":{\"name\":\"单一网关\",\"form_template_id\":2,\"x\":870,\"y\":300,\"text\":{\"x\":870,\"y\":300,\"value\":\"单一网关\"}},\"key\":\"Gateway_335ghsi\"},{\"incoming\":[\"Flow_1kdeshv\"],\"outgoing\":[\"Flow_1f91tq0\"],\"dockers\":[],\"type\":4,\"properties\":{\"name\":\"监理项目部管理员上报\",\"form_template_id\":2,\"x\":1140,\"y\":300,\"text\":{\"x\":1140,\"y\":300,\"value\":\"监理项目部管理员上报\"}},\"key\":\"Activity_0ag852a\"},{\"incoming\":[\"Flow_1f91tq0\",\"Flow_1hajbcs\"],\"outgoing\":[],\"dockers\":[],\"type\":3,\"properties\":{\"name\":\"结束\",\"form_template_id\":2,\"x\":1400,\"y\":300,\"text\":{\"x\":1400,\"y\":340,\"value\":\"结束\"}},\"key\":\"Event_0e4i4kg\"},{\"incoming\":[\"Event_0etvhi1\"],\"outgoing\":[\"Activity_027d0rv\"],\"type\":1,\"dockers\":[],\"properties\":{\"name\":\"\",\"form_template_id\":2,\"text\":\"\",\"startPoint\":\"{\\\"x\\\":238,\\\"y\\\":300}\",\"endPoint\":\"{\\\"x\\\":400,\\\"y\\\":300}\",\"pointsList\":\"[{\\\"x\\\":238,\\\"y\\\":300},{\\\"x\\\":400,\\\"y\\\":300}]\"},\"key\":\"Flow_13am9ue\"},{\"incoming\":[\"Activity_027d0rv\"],\"outgoing\":[\"Activity_3b36jgt\"],\"type\":1,\"dockers\":[],\"properties\":{\"name\":\"\",\"form_template_id\":2,\"text\":\"\",\"startPoint\":\"{\\\"x\\\":500,\\\"y\\\":300}\",\"endPoint\":\"{\\\"x\\\":650,\\\"y\\\":300}\",\"pointsList\":\"[{\\\"x\\\":500,\\\"y\\\":300},{\\\"x\\\":650,\\\"y\\\":300}]\"},\"key\":\"Flow_0s6i8kj\"},{\"incoming\":[\"Activity_3b36jgt\"],\"outgoing\":[\"Gateway_335ghsi\"],\"type\":1,\"dockers\":[],\"properties\":{\"name\":\"\",\"form_template_id\":2,\"text\":\"\",\"startPoint\":\"{\\\"x\\\":750,\\\"y\\\":300}\",\"endPoint\":\"{\\\"x\\\":845,\\\"y\\\":300}\",\"pointsList\":\"[{\\\"x\\\":750,\\\"y\\\":300},{\\\"x\\\":845,\\\"y\\\":300}]\"},\"key\":\"Flow_3ruskhh\"},{\"incoming\":[\"Gateway_335ghsi\"],\"outgoing\":[\"Activity_0ag852a\"],\"type\":1,\"dockers\":[],\"properties\":{\"conditionsequenceflow\":\"ticketType==\'B\'\",\"name\":\"\",\"form_template_id\":2,\"text\":\"\",\"startPoint\":\"{\\\"x\\\":895,\\\"y\\\":300}\",\"endPoint\":\"{\\\"x\\\":1090,\\\"y\\\":300}\",\"pointsList\":\"[{\\\"x\\\":895,\\\"y\\\":300},{\\\"x\\\":1090,\\\"y\\\":300}]\"},\"key\":\"Flow_1kdeshv\"},{\"incoming\":[\"Activity_0ag852a\"],\"outgoing\":[\"Event_0e4i4kg\"],\"type\":1,\"dockers\":[],\"properties\":{\"name\":\"\",\"form_template_id\":2,\"text\":\"\",\"startPoint\":\"{\\\"x\\\":1190,\\\"y\\\":300}\",\"endPoint\":\"{\\\"x\\\":1382,\\\"y\\\":300}\",\"pointsList\":\"[{\\\"x\\\":1190,\\\"y\\\":300},{\\\"x\\\":1382,\\\"y\\\":300}]\"},\"key\":\"Flow_1f91tq0\"},{\"incoming\":[\"Gateway_335ghsi\"],\"outgoing\":[\"Event_0e4i4kg\"],\"type\":1,\"dockers\":[],\"properties\":{\"conditionsequenceflow\":\"ticketType==\'A\'\",\"name\":\"\",\"form_template_id\":2,\"text\":\"\",\"startPoint\":\"{\\\"x\\\":895,\\\"y\\\":300}\",\"endPoint\":\"{\\\"x\\\":1400,\\\"y\\\":282}\",\"pointsList\":\"[{\\\"x\\\":895,\\\"y\\\":300},{\\\"x\\\":949,\\\"y\\\":300},{\\\"x\\\":949,\\\"y\\\":177},{\\\"x\\\":1400,\\\"y\\\":177},{\\\"x\\\":1400,\\\"y\\\":282}]\"},\"key\":\"Flow_1hajbcs\"}]}', 1, '2023-03-27 19:25:25', '2023-03-27 20:56:45', 'lu', '', 0, 'testTenant', 'testCaller');
INSERT INTO `em_flow_deployment` (`id`, `flow_deploy_id`, `flow_module_id`, `flow_name`, `flow_key`, `tenant_id`, `flow_model`, `status`, `create_time`, `modify_time`, `operator`, `remark`, `archive`, `tenant`, `caller`) VALUES (8, '0ecac7a5-cc9f-11ed-a5b5-f2d57a4703d9', '118ce103-cc92-11ed-a9ed-f2d57a4703d9', '作业票开票审批流程', 'zypsplc', '', '{\"flowElementList\":[{\"incoming\":[],\"outgoing\":[\"Flow_13am9ue\"],\"dockers\":[],\"type\":2,\"properties\":{\"name\":\"开始\",\"form_template_id\":2,\"x\":220,\"y\":300,\"text\":{\"x\":220,\"y\":340,\"value\":\"开始\"}},\"key\":\"Event_0etvhi1\"},{\"incoming\":[\"Flow_13am9ue\"],\"outgoing\":[\"Flow_0s6i8kj\"],\"dockers\":[],\"type\":4,\"properties\":{\"name\":\"班组负责人上报\",\"form_template_id\":2,\"x\":450,\"y\":300,\"text\":{\"x\":450,\"y\":300,\"value\":\"班组负责人上报\"}},\"key\":\"Activity_027d0rv\"},{\"incoming\":[\"Flow_0s6i8kj\"],\"outgoing\":[\"Flow_3ruskhh\"],\"dockers\":[],\"type\":4,\"properties\":{\"name\":\"施工项目经理上报\",\"form_template_id\":2,\"x\":700,\"y\":300,\"text\":{\"x\":700,\"y\":300,\"value\":\"施工项目经理上报\"}},\"key\":\"Activity_3b36jgt\"},{\"incoming\":[\"Flow_3ruskhh\"],\"outgoing\":[\"Flow_1kdeshv\",\"Flow_1hajbcs\"],\"dockers\":[],\"type\":6,\"properties\":{\"name\":\"单一网关\",\"form_template_id\":2,\"x\":870,\"y\":300,\"text\":{\"x\":870,\"y\":300,\"value\":\"单一网关\"}},\"key\":\"Gateway_335ghsi\"},{\"incoming\":[\"Flow_1kdeshv\"],\"outgoing\":[\"Flow_1f91tq0\"],\"dockers\":[],\"type\":4,\"properties\":{\"name\":\"监理项目部管理员上报\",\"form_template_id\":2,\"x\":1140,\"y\":300,\"text\":{\"x\":1140,\"y\":300,\"value\":\"监理项目部管理员上报\"}},\"key\":\"Activity_0ag852a\"},{\"incoming\":[\"Flow_1f91tq0\",\"Flow_1hajbcs\"],\"outgoing\":[],\"dockers\":[],\"type\":3,\"properties\":{\"name\":\"结束\",\"form_template_id\":2,\"x\":1400,\"y\":300,\"text\":{\"x\":1400,\"y\":340,\"value\":\"结束\"}},\"key\":\"Event_0e4i4kg\"},{\"incoming\":[\"Event_0etvhi1\"],\"outgoing\":[\"Activity_027d0rv\"],\"type\":1,\"dockers\":[],\"properties\":{\"name\":\"\",\"form_template_id\":2,\"text\":\"\",\"startPoint\":\"{\\\"x\\\":238,\\\"y\\\":300}\",\"endPoint\":\"{\\\"x\\\":400,\\\"y\\\":300}\",\"pointsList\":\"[{\\\"x\\\":238,\\\"y\\\":300},{\\\"x\\\":400,\\\"y\\\":300}]\"},\"key\":\"Flow_13am9ue\"},{\"incoming\":[\"Activity_027d0rv\"],\"outgoing\":[\"Activity_3b36jgt\"],\"type\":1,\"dockers\":[],\"properties\":{\"name\":\"\",\"form_template_id\":2,\"text\":\"\",\"startPoint\":\"{\\\"x\\\":500,\\\"y\\\":300}\",\"endPoint\":\"{\\\"x\\\":650,\\\"y\\\":300}\",\"pointsList\":\"[{\\\"x\\\":500,\\\"y\\\":300},{\\\"x\\\":650,\\\"y\\\":300}]\"},\"key\":\"Flow_0s6i8kj\"},{\"incoming\":[\"Activity_3b36jgt\"],\"outgoing\":[\"Gateway_335ghsi\"],\"type\":1,\"dockers\":[],\"properties\":{\"name\":\"\",\"form_template_id\":2,\"text\":\"\",\"startPoint\":\"{\\\"x\\\":750,\\\"y\\\":300}\",\"endPoint\":\"{\\\"x\\\":845,\\\"y\\\":300}\",\"pointsList\":\"[{\\\"x\\\":750,\\\"y\\\":300},{\\\"x\\\":845,\\\"y\\\":300}]\"},\"key\":\"Flow_3ruskhh\"},{\"incoming\":[\"Gateway_335ghsi\"],\"outgoing\":[\"Activity_0ag852a\"],\"type\":1,\"dockers\":[],\"properties\":{\"conditionsequenceflow\":\"ticketType==\'B\'\",\"name\":\"\",\"form_template_id\":2,\"text\":\"\",\"startPoint\":\"{\\\"x\\\":895,\\\"y\\\":300}\",\"endPoint\":\"{\\\"x\\\":1090,\\\"y\\\":300}\",\"pointsList\":\"[{\\\"x\\\":895,\\\"y\\\":300},{\\\"x\\\":1090,\\\"y\\\":300}]\"},\"key\":\"Flow_1kdeshv\"},{\"incoming\":[\"Activity_0ag852a\"],\"outgoing\":[\"Event_0e4i4kg\"],\"type\":1,\"dockers\":[],\"properties\":{\"name\":\"\",\"form_template_id\":2,\"text\":\"\",\"startPoint\":\"{\\\"x\\\":1190,\\\"y\\\":300}\",\"endPoint\":\"{\\\"x\\\":1382,\\\"y\\\":300}\",\"pointsList\":\"[{\\\"x\\\":1190,\\\"y\\\":300},{\\\"x\\\":1382,\\\"y\\\":300}]\"},\"key\":\"Flow_1f91tq0\"},{\"incoming\":[\"Gateway_335ghsi\"],\"outgoing\":[\"Event_0e4i4kg\"],\"type\":1,\"dockers\":[],\"properties\":{\"conditionsequenceflow\":\"ticketType==\'A\'\",\"name\":\"\",\"form_template_id\":2,\"text\":\"\",\"startPoint\":\"{\\\"x\\\":895,\\\"y\\\":300}\",\"endPoint\":\"{\\\"x\\\":1400,\\\"y\\\":282}\",\"pointsList\":\"[{\\\"x\\\":895,\\\"y\\\":300},{\\\"x\\\":949,\\\"y\\\":300},{\\\"x\\\":949,\\\"y\\\":177},{\\\"x\\\":1400,\\\"y\\\":177},{\\\"x\\\":1400,\\\"y\\\":282}]\"},\"key\":\"Flow_1hajbcs\"}]}', 1, '2023-03-27 19:25:25', '2023-03-27 20:56:45', 'lu', '', 0, 'testTenant', 'testCaller');
INSERT INTO `em_flow_deployment` (`id`, `flow_deploy_id`, `flow_module_id`, `flow_name`, `flow_key`, `tenant_id`, `flow_model`, `status`, `create_time`, `modify_time`, `operator`, `remark`, `archive`, `tenant`, `caller`) VALUES (9, '8abdbcae-cc9f-11ed-a5b5-f2d57a4703d9', '118ce103-cc92-11ed-a9ed-f2d57a4703d9', '作业票开票审批流程', 'zypsplc', '', '{\"flowElementList\":[{\"incoming\":[],\"outgoing\":[\"Flow_13am9ue\"],\"dockers\":[],\"type\":2,\"properties\":{\"name\":\"开始\",\"form_template_id\":2,\"x\":220,\"y\":300,\"text\":{\"x\":220,\"y\":340,\"value\":\"开始\"}},\"key\":\"Event_0etvhi1\"},{\"incoming\":[\"Flow_13am9ue\"],\"outgoing\":[\"Flow_0s6i8kj\"],\"dockers\":[],\"type\":4,\"properties\":{\"name\":\"班组负责人上报\",\"form_template_id\":2,\"x\":450,\"y\":300,\"text\":{\"x\":450,\"y\":300,\"value\":\"班组负责人上报\"}},\"key\":\"Activity_027d0rv\"},{\"incoming\":[\"Flow_0s6i8kj\"],\"outgoing\":[\"Flow_3ruskhh\"],\"dockers\":[],\"type\":4,\"properties\":{\"name\":\"施工项目经理上报\",\"form_template_id\":2,\"x\":700,\"y\":300,\"text\":{\"x\":700,\"y\":300,\"value\":\"施工项目经理上报\"}},\"key\":\"Activity_3b36jgt\"},{\"incoming\":[\"Flow_3ruskhh\"],\"outgoing\":[\"Flow_1kdeshv\",\"Flow_1hajbcs\"],\"dockers\":[],\"type\":6,\"properties\":{\"name\":\"单一网关\",\"form_template_id\":2,\"x\":870,\"y\":300,\"text\":{\"x\":870,\"y\":300,\"value\":\"单一网关\"}},\"key\":\"Gateway_335ghsi\"},{\"incoming\":[\"Flow_1kdeshv\"],\"outgoing\":[\"Flow_1f91tq0\"],\"dockers\":[],\"type\":4,\"properties\":{\"name\":\"监理项目部管理员上报\",\"form_template_id\":2,\"x\":1140,\"y\":300,\"text\":{\"x\":1140,\"y\":300,\"value\":\"监理项目部管理员上报\"}},\"key\":\"Activity_0ag852a\"},{\"incoming\":[\"Flow_1f91tq0\",\"Flow_1hajbcs\"],\"outgoing\":[],\"dockers\":[],\"type\":3,\"properties\":{\"name\":\"结束\",\"form_template_id\":2,\"x\":1400,\"y\":300,\"text\":{\"x\":1400,\"y\":340,\"value\":\"结束\"}},\"key\":\"Event_0e4i4kg\"},{\"incoming\":[\"Event_0etvhi1\"],\"outgoing\":[\"Activity_027d0rv\"],\"type\":1,\"dockers\":[],\"properties\":{\"name\":\"\",\"form_template_id\":2,\"text\":\"\",\"startPoint\":\"{\\\"x\\\":238,\\\"y\\\":300}\",\"endPoint\":\"{\\\"x\\\":400,\\\"y\\\":300}\",\"pointsList\":\"[{\\\"x\\\":238,\\\"y\\\":300},{\\\"x\\\":400,\\\"y\\\":300}]\"},\"key\":\"Flow_13am9ue\"},{\"incoming\":[\"Activity_027d0rv\"],\"outgoing\":[\"Activity_3b36jgt\"],\"type\":1,\"dockers\":[],\"properties\":{\"name\":\"\",\"form_template_id\":2,\"text\":\"\",\"startPoint\":\"{\\\"x\\\":500,\\\"y\\\":300}\",\"endPoint\":\"{\\\"x\\\":650,\\\"y\\\":300}\",\"pointsList\":\"[{\\\"x\\\":500,\\\"y\\\":300},{\\\"x\\\":650,\\\"y\\\":300}]\"},\"key\":\"Flow_0s6i8kj\"},{\"incoming\":[\"Activity_3b36jgt\"],\"outgoing\":[\"Gateway_335ghsi\"],\"type\":1,\"dockers\":[],\"properties\":{\"name\":\"\",\"form_template_id\":2,\"text\":\"\",\"startPoint\":\"{\\\"x\\\":750,\\\"y\\\":300}\",\"endPoint\":\"{\\\"x\\\":845,\\\"y\\\":300}\",\"pointsList\":\"[{\\\"x\\\":750,\\\"y\\\":300},{\\\"x\\\":845,\\\"y\\\":300}]\"},\"key\":\"Flow_3ruskhh\"},{\"incoming\":[\"Gateway_335ghsi\"],\"outgoing\":[\"Activity_0ag852a\"],\"type\":1,\"dockers\":[],\"properties\":{\"conditionsequenceflow\":\"kplx_11==\'B\'\",\"name\":\"\",\"form_template_id\":2,\"text\":\"\",\"startPoint\":\"{\\\"x\\\":895,\\\"y\\\":300}\",\"endPoint\":\"{\\\"x\\\":1090,\\\"y\\\":300}\",\"pointsList\":\"[{\\\"x\\\":895,\\\"y\\\":300},{\\\"x\\\":1090,\\\"y\\\":300}]\"},\"key\":\"Flow_1kdeshv\"},{\"incoming\":[\"Activity_0ag852a\"],\"outgoing\":[\"Event_0e4i4kg\"],\"type\":1,\"dockers\":[],\"properties\":{\"name\":\"\",\"form_template_id\":2,\"text\":\"\",\"startPoint\":\"{\\\"x\\\":1190,\\\"y\\\":300}\",\"endPoint\":\"{\\\"x\\\":1382,\\\"y\\\":300}\",\"pointsList\":\"[{\\\"x\\\":1190,\\\"y\\\":300},{\\\"x\\\":1382,\\\"y\\\":300}]\"},\"key\":\"Flow_1f91tq0\"},{\"incoming\":[\"Gateway_335ghsi\"],\"outgoing\":[\"Event_0e4i4kg\"],\"type\":1,\"dockers\":[],\"properties\":{\"conditionsequenceflow\":\"kplx_11==\'A\'\",\"name\":\"\",\"form_template_id\":2,\"text\":\"\",\"startPoint\":\"{\\\"x\\\":895,\\\"y\\\":300}\",\"endPoint\":\"{\\\"x\\\":1400,\\\"y\\\":282}\",\"pointsList\":\"[{\\\"x\\\":895,\\\"y\\\":300},{\\\"x\\\":949,\\\"y\\\":300},{\\\"x\\\":949,\\\"y\\\":177},{\\\"x\\\":1400,\\\"y\\\":177},{\\\"x\\\":1400,\\\"y\\\":282}]\"},\"key\":\"Flow_1hajbcs\"}]}', 1, '2023-03-27 19:25:25', '2023-03-27 21:01:38', 'lu', '', 0, 'testTenant', 'testCaller');
INSERT INTO `em_flow_deployment` (`id`, `flow_deploy_id`, `flow_module_id`, `flow_name`, `flow_key`, `tenant_id`, `flow_model`, `status`, `create_time`, `modify_time`, `operator`, `remark`, `archive`, `tenant`, `caller`) VALUES (10, '0cc73bfc-ccaf-11ed-85d5-f2d57a4703d9', '118ce103-cc92-11ed-a9ed-f2d57a4703d9', '作业票开票审批流程', 'zypsplc', '', '{\"flowElementList\":[{\"incoming\":[],\"outgoing\":[\"Flow_13am9ue\"],\"dockers\":[],\"type\":2,\"properties\":{\"name\":\"开始\",\"form_template_id\":2,\"x\":220,\"y\":300,\"text\":{\"x\":220,\"y\":340,\"value\":\"开始\"}},\"key\":\"Event_0etvhi1\"},{\"incoming\":[\"Flow_13am9ue\"],\"outgoing\":[\"Flow_0s6i8kj\"],\"dockers\":[],\"type\":4,\"properties\":{\"name\":\"班组负责人上报\",\"form_template_id\":2,\"x\":450,\"y\":300,\"text\":{\"x\":450,\"y\":300,\"value\":\"班组负责人上报\"}},\"key\":\"Activity_027d0rv\"},{\"incoming\":[\"Flow_0s6i8kj\"],\"outgoing\":[\"Flow_3ruskhh\"],\"dockers\":[],\"type\":4,\"properties\":{\"name\":\"施工项目经理上报\",\"form_template_id\":2,\"x\":700,\"y\":300,\"text\":{\"x\":700,\"y\":300,\"value\":\"施工项目经理上报\"}},\"key\":\"Activity_3b36jgt\"},{\"incoming\":[\"Flow_3ruskhh\"],\"outgoing\":[\"Flow_1kdeshv\",\"Flow_1hajbcs\"],\"dockers\":[],\"type\":6,\"properties\":{\"name\":\"单一网关\",\"form_template_id\":2,\"x\":870,\"y\":300,\"text\":{\"x\":870,\"y\":300,\"value\":\"单一网关\"}},\"key\":\"Gateway_335ghsi\"},{\"incoming\":[\"Flow_1kdeshv\"],\"outgoing\":[\"Flow_1f91tq0\"],\"dockers\":[],\"type\":4,\"properties\":{\"name\":\"监理项目部管理员上报\",\"form_template_id\":2,\"x\":1140,\"y\":300,\"text\":{\"x\":1140,\"y\":300,\"value\":\"监理项目部管理员上报\"}},\"key\":\"Activity_0ag852a\"},{\"incoming\":[\"Flow_1f91tq0\",\"Flow_1hajbcs\"],\"outgoing\":[],\"dockers\":[],\"type\":3,\"properties\":{\"name\":\"结束\",\"form_template_id\":2,\"x\":1400,\"y\":300,\"text\":{\"x\":1400,\"y\":340,\"value\":\"结束\"}},\"key\":\"Event_0e4i4kg\"},{\"incoming\":[\"Event_0etvhi1\"],\"outgoing\":[\"Activity_027d0rv\"],\"type\":1,\"dockers\":[],\"properties\":{\"name\":\"\",\"form_template_id\":2,\"text\":\"\",\"startPoint\":\"{\\\"x\\\":238,\\\"y\\\":300}\",\"endPoint\":\"{\\\"x\\\":400,\\\"y\\\":300}\",\"pointsList\":\"[{\\\"x\\\":238,\\\"y\\\":300},{\\\"x\\\":400,\\\"y\\\":300}]\"},\"key\":\"Flow_13am9ue\"},{\"incoming\":[\"Activity_027d0rv\"],\"outgoing\":[\"Activity_3b36jgt\"],\"type\":1,\"dockers\":[],\"properties\":{\"name\":\"\",\"form_template_id\":2,\"text\":\"\",\"startPoint\":\"{\\\"x\\\":500,\\\"y\\\":300}\",\"endPoint\":\"{\\\"x\\\":650,\\\"y\\\":300}\",\"pointsList\":\"[{\\\"x\\\":500,\\\"y\\\":300},{\\\"x\\\":650,\\\"y\\\":300}]\"},\"key\":\"Flow_0s6i8kj\"},{\"incoming\":[\"Activity_3b36jgt\"],\"outgoing\":[\"Gateway_335ghsi\"],\"type\":1,\"dockers\":[],\"properties\":{\"name\":\"\",\"form_template_id\":2,\"text\":\"\",\"startPoint\":\"{\\\"x\\\":750,\\\"y\\\":300}\",\"endPoint\":\"{\\\"x\\\":845,\\\"y\\\":300}\",\"pointsList\":\"[{\\\"x\\\":750,\\\"y\\\":300},{\\\"x\\\":845,\\\"y\\\":300}]\"},\"key\":\"Flow_3ruskhh\"},{\"incoming\":[\"Gateway_335ghsi\"],\"outgoing\":[\"Activity_0ag852a\"],\"type\":1,\"dockers\":[],\"properties\":{\"conditionsequenceflow\":\"kplx_11==\'B\'\",\"name\":\"\",\"form_template_id\":2,\"text\":\"\",\"startPoint\":\"{\\\"x\\\":895,\\\"y\\\":300}\",\"endPoint\":\"{\\\"x\\\":1090,\\\"y\\\":300}\",\"pointsList\":\"[{\\\"x\\\":895,\\\"y\\\":300},{\\\"x\\\":1090,\\\"y\\\":300}]\"},\"key\":\"Flow_1kdeshv\"},{\"incoming\":[\"Activity_0ag852a\"],\"outgoing\":[\"Event_0e4i4kg\"],\"type\":1,\"dockers\":[],\"properties\":{\"name\":\"\",\"form_template_id\":2,\"text\":\"\",\"startPoint\":\"{\\\"x\\\":1190,\\\"y\\\":300}\",\"endPoint\":\"{\\\"x\\\":1382,\\\"y\\\":300}\",\"pointsList\":\"[{\\\"x\\\":1190,\\\"y\\\":300},{\\\"x\\\":1382,\\\"y\\\":300}]\"},\"key\":\"Flow_1f91tq0\"},{\"incoming\":[\"Gateway_335ghsi\"],\"outgoing\":[\"Event_0e4i4kg\"],\"type\":1,\"dockers\":[],\"properties\":{\"conditionsequenceflow\":\"kplx_11==\'A\'\",\"name\":\"\",\"form_template_id\":2,\"text\":\"\",\"startPoint\":\"{\\\"x\\\":895,\\\"y\\\":300}\",\"endPoint\":\"{\\\"x\\\":1400,\\\"y\\\":282}\",\"pointsList\":\"[{\\\"x\\\":895,\\\"y\\\":300},{\\\"x\\\":949,\\\"y\\\":300},{\\\"x\\\":949,\\\"y\\\":177},{\\\"x\\\":1400,\\\"y\\\":177},{\\\"x\\\":1400,\\\"y\\\":282}]\"},\"key\":\"Flow_1hajbcs\"}]}', 1, '2023-03-27 19:25:25', '2023-03-27 21:01:38', 'lu', '', 0, 'testTenant', 'testCaller');
COMMIT;

-- ----------------------------
-- Table structure for em_form_template
-- ----------------------------
DROP TABLE IF EXISTS `em_form_template`;
CREATE TABLE `em_form_template` (
  `id` bigint(20) NOT NULL AUTO_INCREMENT,
  `name` varchar(50) NOT NULL COMMENT '模版名称',
  `status` tinyint(1) DEFAULT '1' COMMENT '0删除；1在用',
  `content` text NOT NULL COMMENT '模版内容',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci COMMENT='表单模版';

-- ----------------------------
-- Records of em_form_template
-- ----------------------------
BEGIN;
INSERT INTO `em_form_template` (`id`, `name`, `status`, `content`) VALUES (1, '请假流程', 1, '{\"fields\":[{\"__config__\":{\"label\":\"请假天数\",\"labelWidth\":null,\"showLabel\":true,\"changeTag\":true,\"tag\":\"el-input\",\"tagIcon\":\"input\",\"defaultValue\":\"\",\"required\":true,\"layout\":\"colFormItem\",\"span\":24,\"document\":\"https://element.eleme.cn/#/zh-CN/component/input\",\"regList\":[]},\"__slot__\":{\"prepend\":\"\",\"append\":\"\"},\"__vModel__\":\"days\",\"placeholder\":\"请输入请假天数\",\"style\":{\"width\":\"100%\"},\"clearable\":true,\"prefix-icon\":\"el-icon-mobile\",\"suffix-icon\":\"\",\"maxlength\":11,\"show-word-limit\":true,\"readonly\":false,\"disabled\":false},{\"__config__\":{\"label\":\"原因\",\"labelWidth\":null,\"showLabel\":true,\"tag\":\"el-input\",\"tagIcon\":\"textarea\",\"required\":true,\"layout\":\"colFormItem\",\"span\":24,\"regList\":[],\"changeTag\":true,\"document\":\"https://element.eleme.cn/#/zh-CN/component/input\",\"formId\":101,\"renderKey\":1679811891558},\"type\":\"textarea\",\"placeholder\":\"请输入原因\",\"autosize\":{\"minRows\":4,\"maxRows\":4},\"style\":{\"width\":\"100%\"},\"maxlength\":null,\"show-word-limit\":false,\"readonly\":false,\"disabled\":false,\"__vModel__\":\"description\"}],\"formRef\":\"qjlcbd\",\"formModel\":\"formData\",\"size\":\"medium\",\"labelPosition\":\"right\",\"labelWidth\":100,\"formRules\":\"rules\",\"gutter\":15,\"disabled\":false,\"span\":24,\"formBtns\":true}');
INSERT INTO `em_form_template` (`id`, `name`, `status`, `content`) VALUES (2, '作业票开票审批流程', 1, '{\"fields\":[{\"__config__\":{\"layout\":\"rowFormItem\",\"tagIcon\":\"row\",\"layoutTree\":true,\"document\":\"https://element.eleme.cn/#/zh-CN/component/layout#row-attributes\",\"span\":24,\"formId\":108,\"renderKey\":1679917987671,\"componentName\":\"row108\",\"children\":[{\"__config__\":{\"label\":\"工程名称\",\"labelWidth\":\"\",\"showLabel\":true,\"changeTag\":true,\"tag\":\"el-input\",\"tagIcon\":\"input\",\"defaultValue\":\"A新度XXX220k线路增容改造工程\",\"required\":false,\"layout\":\"colFormItem\",\"span\":24,\"document\":\"https://element.eleme.cn/#/zh-CN/component/input\",\"regList\":[],\"formId\":101,\"renderKey\":1679917652080},\"__slot__\":{\"prepend\":\"\",\"append\":\"\"},\"placeholder\":\"工程名称\",\"style\":{\"width\":\"100%\"},\"clearable\":false,\"prefix-icon\":\"\",\"suffix-icon\":\"\",\"maxlength\":null,\"show-word-limit\":false,\"readonly\":true,\"disabled\":false,\"__vModel__\":\"gcmc_01\"},{\"__config__\":{\"label\":\"施工人数\",\"labelWidth\":null,\"showLabel\":true,\"changeTag\":true,\"tag\":\"el-input\",\"tagIcon\":\"input\",\"defaultValue\":\"\",\"required\":true,\"layout\":\"colFormItem\",\"span\":24,\"document\":\"https://element.eleme.cn/#/zh-CN/component/input\",\"regList\":[],\"formId\":102,\"renderKey\":1679917812575},\"__slot__\":{\"prepend\":\"\",\"append\":\"\"},\"placeholder\":\"施工人数\",\"style\":{\"width\":\"100%\"},\"clearable\":true,\"prefix-icon\":\"\",\"suffix-icon\":\"\",\"maxlength\":null,\"show-word-limit\":false,\"readonly\":false,\"disabled\":false,\"__vModel__\":\"sgrs_02\"}]},\"type\":\"flex\",\"justify\":\"start\",\"align\":\"middle\"},{\"__config__\":{\"layout\":\"rowFormItem\",\"tagIcon\":\"row\",\"layoutTree\":true,\"document\":\"https://element.eleme.cn/#/zh-CN/component/layout#row-attributes\",\"span\":24,\"formId\":110,\"renderKey\":1679918065755,\"componentName\":\"row110\",\"children\":[{\"__config__\":{\"label\":\"初勘风险等级\",\"labelWidth\":\"\",\"showLabel\":true,\"changeTag\":true,\"tag\":\"el-input\",\"tagIcon\":\"input\",\"defaultValue\":\"2级\",\"required\":false,\"layout\":\"colFormItem\",\"span\":24,\"document\":\"https://element.eleme.cn/#/zh-CN/component/input\",\"regList\":[],\"formId\":111,\"renderKey\":1679918065755},\"__slot__\":{\"prepend\":\"\",\"append\":\"\"},\"placeholder\":\"初勘风险等级\",\"style\":{\"width\":\"100%\"},\"clearable\":false,\"prefix-icon\":\"\",\"suffix-icon\":\"\",\"maxlength\":null,\"show-word-limit\":false,\"readonly\":true,\"disabled\":false,\"__vModel__\":\"skfxdj_03\"},{\"__config__\":{\"label\":\"复测风险等级\",\"labelWidth\":null,\"showLabel\":true,\"changeTag\":true,\"tag\":\"el-input\",\"tagIcon\":\"input\",\"defaultValue\":\"2级\",\"required\":false,\"layout\":\"colFormItem\",\"span\":24,\"document\":\"https://element.eleme.cn/#/zh-CN/component/input\",\"regList\":[],\"formId\":112,\"renderKey\":1679918065755},\"__slot__\":{\"prepend\":\"\",\"append\":\"\"},\"placeholder\":\"复测风险等级\",\"style\":{\"width\":\"100%\"},\"clearable\":false,\"prefix-icon\":\"\",\"suffix-icon\":\"\",\"maxlength\":null,\"show-word-limit\":false,\"readonly\":true,\"disabled\":false,\"__vModel__\":\"field112_04\"}]},\"type\":\"flex\",\"justify\":\"start\",\"align\":\"middle\"},{\"__config__\":{\"layout\":\"rowFormItem\",\"tagIcon\":\"row\",\"layoutTree\":true,\"document\":\"https://element.eleme.cn/#/zh-CN/component/layout#row-attributes\",\"span\":24,\"formId\":120,\"renderKey\":1679918886716,\"componentName\":\"row120\",\"children\":[{\"__config__\":{\"label\":\"作业过程风险控制措施\",\"tag\":\"el-checkbox-group\",\"tagIcon\":\"checkbox\",\"defaultValue\":[1,2,3],\"span\":24,\"showLabel\":true,\"labelWidth\":160,\"layout\":\"colFormItem\",\"optionType\":\"default\",\"required\":false,\"regList\":[],\"changeTag\":true,\"border\":false,\"document\":\"https://element.eleme.cn/#/zh-CN/component/checkbox\",\"formId\":119,\"renderKey\":1679918869298},\"__slot__\":{\"options\":[{\"label\":\"1.搭设跨越架，事先与被跨越设施的单位取得联系，必要时请其派员监督检查。\",\"value\":1},{\"label\":\"2.跨越架的中心在线路中心线上，宽度考虑施工期间牵引绳或导地线风偏后超出新建线路两边线各2.0m，且架顶两侧设外伸羊角。\",\"value\":2},{\"label\":\"3.跨越架与高速公路、高速铁路、电气化铁路、110kv及以上运行电力线等的最小安全距离应符合规定要求。\",\"value\":3}]},\"style\":{},\"size\":\"small\",\"disabled\":false,\"__vModel__\":\"zygcfxkzcs_05\"}]},\"type\":\"flex\",\"justify\":\"start\",\"align\":\"middle\"},{\"__config__\":{\"label\":\"开票类型\",\"showLabel\":true,\"labelWidth\":null,\"tag\":\"el-select\",\"tagIcon\":\"select\",\"layout\":\"colFormItem\",\"span\":24,\"required\":true,\"regList\":[],\"changeTag\":true,\"document\":\"https://element.eleme.cn/#/zh-CN/component/select\",\"formId\":130,\"renderKey\":1679920011241},\"__slot__\":{\"options\":[{\"label\":\"A票\",\"value\":\"A\"},{\"label\":\"B票\",\"value\":\"B\"}]},\"placeholder\":\"请选择开票类型\",\"style\":{\"width\":\"100%\"},\"clearable\":true,\"disabled\":false,\"filterable\":false,\"multiple\":false,\"__vModel__\":\"kplx_11\"},{\"__config__\":{\"label\":\"技术人员\",\"labelWidth\":null,\"showLabel\":true,\"changeTag\":true,\"tag\":\"el-input\",\"tagIcon\":\"input\",\"required\":true,\"layout\":\"colFormItem\",\"span\":24,\"document\":\"https://element.eleme.cn/#/zh-CN/component/input\",\"regList\":[],\"formId\":121,\"renderKey\":1679919542141},\"__slot__\":{\"prepend\":\"\",\"append\":\"\"},\"placeholder\":\"请输入技术人员\",\"style\":{\"width\":\"100%\"},\"clearable\":true,\"prefix-icon\":\"\",\"suffix-icon\":\"\",\"maxlength\":null,\"show-word-limit\":false,\"readonly\":false,\"disabled\":false,\"__vModel__\":\"jxry_06\"},{\"__config__\":{\"label\":\"施工人员\",\"labelWidth\":null,\"showLabel\":true,\"changeTag\":true,\"tag\":\"el-input\",\"tagIcon\":\"input\",\"required\":true,\"layout\":\"colFormItem\",\"span\":24,\"document\":\"https://element.eleme.cn/#/zh-CN/component/input\",\"regList\":[],\"formId\":123,\"renderKey\":1679919579214},\"__slot__\":{\"prepend\":\"\",\"append\":\"\"},\"placeholder\":\"请输入施工人员\",\"style\":{\"width\":\"100%\"},\"clearable\":true,\"prefix-icon\":\"\",\"suffix-icon\":\"\",\"maxlength\":null,\"show-word-limit\":false,\"readonly\":false,\"disabled\":false,\"__vModel__\":\"sgry_07\"},{\"__config__\":{\"label\":\"新增人员\",\"labelWidth\":null,\"showLabel\":true,\"changeTag\":true,\"tag\":\"el-input\",\"tagIcon\":\"input\",\"required\":false,\"layout\":\"colFormItem\",\"span\":24,\"document\":\"https://element.eleme.cn/#/zh-CN/component/input\",\"regList\":[],\"formId\":125,\"renderKey\":1679919615284},\"__slot__\":{\"prepend\":\"\",\"append\":\"\"},\"placeholder\":\"请输入新增人员\",\"style\":{\"width\":\"100%\"},\"clearable\":true,\"prefix-icon\":\"\",\"suffix-icon\":\"\",\"maxlength\":null,\"show-word-limit\":false,\"readonly\":false,\"disabled\":false,\"__vModel__\":\"xzry_08\"},{\"__config__\":{\"label\":\"变化情况\",\"labelWidth\":null,\"showLabel\":true,\"tag\":\"el-input\",\"tagIcon\":\"textarea\",\"required\":false,\"layout\":\"colFormItem\",\"span\":24,\"regList\":[],\"changeTag\":true,\"document\":\"https://element.eleme.cn/#/zh-CN/component/input\",\"formId\":126,\"renderKey\":1679919679916},\"type\":\"textarea\",\"placeholder\":\"请输入变化情况\",\"autosize\":{\"minRows\":4,\"maxRows\":4},\"style\":{\"width\":\"100%\"},\"maxlength\":null,\"show-word-limit\":false,\"readonly\":false,\"disabled\":false,\"__vModel__\":\"bhqk_09\"},{\"__config__\":{\"label\":\"控制措施\",\"labelWidth\":null,\"showLabel\":true,\"tag\":\"el-input\",\"tagIcon\":\"textarea\",\"required\":false,\"layout\":\"colFormItem\",\"span\":24,\"regList\":[],\"changeTag\":true,\"document\":\"https://element.eleme.cn/#/zh-CN/component/input\",\"formId\":128,\"renderKey\":1679919701940},\"type\":\"textarea\",\"placeholder\":\"请输入控制措施\",\"autosize\":{\"minRows\":4,\"maxRows\":4},\"style\":{\"width\":\"100%\"},\"maxlength\":null,\"show-word-limit\":false,\"readonly\":false,\"disabled\":false,\"__vModel__\":\"kzcs_10\"}],\"formRef\":\"zypkp\",\"formModel\":\"formData\",\"size\":\"small\",\"labelPosition\":\"left\",\"labelWidth\":100,\"formRules\":\"rules\",\"gutter\":0,\"disabled\":false,\"span\":24,\"formBtns\":true}');
COMMIT;

SET FOREIGN_KEY_CHECKS = 1;
